Searched hist:"6 ee1416e8184b4d9ebe6087d396a60bcecf3551c" (Results 1 – 2 of 2) sorted by relevance
| /rk3399_rockchip-uboot/include/ |
| H A D | flash.h | 6ee1416e8184b4d9ebe6087d396a60bcecf3551c Mon Apr 04 06:10:21 UTC 2011 Heiko Schocher <hs@denx.de> mtd, cfi: introduce void flash_protect_default(void)
collect code which protects default sectors in a function, called flash_protect_default. So boardspecific code can call it too.
Signed-off-by: Heiko Schocher <hs@denx.de> Signed-off-by: Stefan Roese <sr@denx.de>
|
| /rk3399_rockchip-uboot/drivers/mtd/ |
| H A D | cfi_flash.c | 2c51983b810d73946f653a4385c65a8b7babbbe1 Wed Apr 13 16:46:56 UTC 2011 Peter Tyser <ptyser@xes-inc.com> 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> 6ee1416e8184b4d9ebe6087d396a60bcecf3551c Mon Apr 04 06:10:21 UTC 2011 Heiko Schocher <hs@denx.de> mtd, cfi: introduce void flash_protect_default(void)
collect code which protects default sectors in a function, called flash_protect_default. So boardspecific code can call it too.
Signed-off-by: Heiko Schocher <hs@denx.de> Signed-off-by: Stefan Roese <sr@denx.de>
|