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

Jeroen Hofstee jeroen at myspectrum.nl
Thu Oct 9 20:10:49 CEST 2014


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 <jeroen at myspectrum.nl>
> ---
>   drivers/mtd/cfi_flash.c | 50 ++++++++++++++++---------------------------------
>   1 file changed, 16 insertions(+), 34 deletions(-)

As a reminder to myself, CONFIG_xyz should be
CONFIG_CFI_FLASH_USE_WEAK_ACCESSOR. And you seem
to need to opt-in for it, not opt-out.



More information about the U-Boot mailing list