Skip to content
Snippets Groups Projects
  1. Apr 13, 2011
    • Peter Tyser's avatar
      cfi_flash: Fix CONFIG_SYS_FLASH_AUTOPROTECT_LIST usage · 2c51983b
      Peter Tyser authored
      
      Commit 6ee1416e (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: default avatarPeter Tyser <ptyser@xes-inc.com>
      Reported-by: default avatarKumar Gala <galak@kernel.crashing.org>
      Cc: Heiko Schocher <hs@denx.de>
      2c51983b
  2. Apr 12, 2011
  3. Apr 11, 2011
  4. Apr 10, 2011
  5. Apr 09, 2011
  6. Apr 08, 2011
Loading