[U-Boot] [PATCH] cfi_flash: Add prototypes of overridable functions

Stefan Roese sr at denx.de
Thu Jul 25 16:50:39 CEST 2013


On 06/06/2013 09:54 AM, Masahiro Yamada wrote:
> This commit adds some prototypes into include/mtd/cfi_flash.h.
> These functions are defined with a weak attribute in
> drivers/mtd/cfi_flash.c.
> This means they can be overrided by board-specific ones
> if necessary.
> 
> When defining such functions under board/ directory or
> somewhere, cfi_flash.h should be included.
> This makes sure that board-specfic cfi functions
> are defined in a correct prototype.
> 
> Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>

Is this patch still needed?

Thanks,
Stefan



More information about the U-Boot mailing list