[U-Boot] [PATCH] cfi_flash: Make all flash access functions weak

Haavard Skinnemoen haavard.skinnemoen at atmel.com
Thu Nov 13 09:18:52 CET 2008


Stefan Roese <sr at denx.de> wrote:
> This patch defines all flash access functions as weak so that
> they can be overridden by board specific versions.
> 
> This will be used by the upcoming VCTH board support where the NOR
> FLASH unfortunately can't be accessed memory-mapped. Special
> accessor functions are needed here.
> 
> Signed-off-by: Stefan Roese <sr at denx.de>

How much overhead does this add? Those things used to be trivial
inlines, but can't be if you turn them into weak aliases.

Haavard


More information about the U-Boot mailing list