commit | 00dcb07c545a6c5650fa5d2350b4f3f14e92274c | [log] [tgz] |
---|---|---|
author | Jeroen Hofstee <jeroen@myspectrum.nl> | Wed Oct 08 22:57:23 2014 +0200 |
committer | Tom Rini <trini@ti.com> | Sat Oct 25 06:58:51 2014 -0400 |
tree | 0e5a22f78c5a562c414f2fe20b986818e54a1910 | |
parent | dd2a6cd0f7929142066a0221cebba05cbd851199 [diff] |
cti_flash.c: use __weak when requested for flash_(read|write){8,16,32,64} For various reasons (design, errata) boards may need to implement their own versions of these accessors. So in the case of CONFIG_CFI_FLASH_USE_WEAK_ACCESSOR mark the functions as weak. In the normal case mark them as static to allow for better optimization. Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl> [trini: Reword commit message] Signed-off-by: Tom Rini <trini@ti.com>