Re: [U-Boot] [PATCH 03/49] cti_flash.c: use __weak when requested

2014-10-26 Thread Tom Rini
On Wed, Oct 08, 2014 at 10:57:23PM +0200, Jeroen Hofstee wrote: > 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

Re: [U-Boot] [PATCH 03/49] cti_flash.c: use __weak when requested

2014-10-09 Thread Jeroen Hofstee
On 08-10-14 22:57, Jeroen Hofstee wrote: For performance reason there seems to be a CONFIG_xyz. Introduce a __maybe_weak to allow using __weak directly instead of relying on aliases. Signed-off-by: Jeroen Hofstee --- drivers/mtd/cfi_flash.c | 50 --

[U-Boot] [PATCH 03/49] cti_flash.c: use __weak when requested

2014-10-08 Thread Jeroen Hofstee
For performance reason there seems to be a CONFIG_xyz. Introduce a __maybe_weak to allow using __weak directly instead of relying on aliases. Signed-off-by: Jeroen Hofstee --- drivers/mtd/cfi_flash.c | 50 - 1 file changed, 16 insertions(+), 34 del