Dear Peter Tyser,

In message <[email protected]> you wrote:
> 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 <[email protected]>
> Reported-by: Kumar Gala <[email protected]>
> Cc: Heiko Schocher <[email protected]>
> ---
> Thanks for noticing this Kumar.
> 
>  drivers/mtd/cfi_flash.c |   14 ++++++++------
>  1 files changed, 8 insertions(+), 6 deletions(-)

Appled, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected]
The shortest unit of time in the multiverse is the News York  Second,
defined  as  the  period  of  time between the traffic lights turning
green and the cab behind you honking.
                                - Terry Pratchett, _Lords and Ladies_
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to