commit | 4f517e628a97b2aedc8f90bb1d9efb4cde4ceb3a | [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 | 458460553f311eaaa1767decd08857736a659233 [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>