summaryrefslogtreecommitdiff
path: root/arch/i386/lib/board.c
diff options
context:
space:
mode:
authorPeter Tyser <ptyser@xes-inc.com>2011-04-13 11:46:56 -0500
committerWolfgang Denk <wd@denx.de>2011-04-13 21:50:25 +0200
commit2c51983b810d73946f653a4385c65a8b7babbbe1 (patch)
treeed8cf8dd65f1bd04d6f347789ddb7f12cdbe2fbb /arch/i386/lib/board.c
parentb16aadf411280fc426d7488ddd8a5b2038b7194d (diff)
downloadu-boot-imx-2c51983b810d73946f653a4385c65a8b7babbbe1.zip
u-boot-imx-2c51983b810d73946f653a4385c65a8b7babbbe1.tar.gz
u-boot-imx-2c51983b810d73946f653a4385c65a8b7babbbe1.tar.bz2
cfi_flash: Fix CONFIG_SYS_FLASH_AUTOPROTECT_LIST usage
Commit 6ee1416e8184b4d9ebe6087d396a60bcecf3551c (mtd, cfi: introduce void flash_protect_default(void)) introduced a bug which resulted in boards that define CONFIG_SYS_FLASH_AUTOPROTECT_LIST not compiling with the the following errors and warning: ptyser@petert u-boot $ make -s xpedite520x Configuring for xpedite520x board... cfi_flash.c: In function 'flash_protect_default': cfi_flash.c:2118: error: 'i' undeclared (first use in this function) cfi_flash.c:2118: error: (Each undeclared identifier is reported only once cfi_flash.c:2118: error: for each function it appears in.) cfi_flash.c:2118: error: 'apl' undeclared (first use in this function) cfi_flash.c:2118: error: invalid application of 'sizeof' to incomplete type 'struct apl_s' cfi_flash.c: In function 'flash_init': cfi_flash.c:2137: warning: unused variable 'apl' Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Reported-by: Kumar Gala <galak@kernel.crashing.org> Cc: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'arch/i386/lib/board.c')
0 files changed, 0 insertions, 0 deletions