]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/icecube/flash.c
Add support for Lite5200B board.
[karo-tx-uboot.git] / board / icecube / flash.c
index 713011c972aa22fb299a7aa3b3813198a55261f7..15e86d34f394446925b786a05ea8f10c43cd9288 100644 (file)
@@ -23,6 +23,7 @@
 
 #include <common.h>
 
+#ifndef CFG_FLASH_CFI_DRIVER
 flash_info_t   flash_info[CFG_MAX_FLASH_BANKS]; /* info for FLASH chips        */
 
 /* NOTE - CONFIG_FLASH_16BIT means the CPU interface is 16-bit, it
@@ -489,3 +490,4 @@ static int write_word_amd (flash_info_t *info, FPWV *dest, FPW data)
 
        return (res);
 }
+#endif /*CFG_FLASH_CFI_DRIVER*/