]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/configs/acadia.h
ppc4xx/fdt/flash: Change fdt_fixup_nor_flash_node() to not rely on cs size
[karo-tx-uboot.git] / include / configs / acadia.h
index bd3388f6267b4814632d5547892572158d52d779..8b01c704fdb8d6f6c21a217ea9ce48ed5c68f53b 100644 (file)
 #define CONFIG_SYS_FLASH_EMPTY_INFO            /* print 'E' for empty sector on flinfo */
 
 #else
-#define        CONFIG_SYS_NO_FLASH             1       /* No NOR on Acadia when NAND-booting   */
+/*
+ * No NOR-flash on Acadia when NAND-booting. We need to undef the
+ * NOR device-tree fixup code as well, since flash_info is not defined
+ * in this case.
+ */
+#define        CONFIG_SYS_NO_FLASH             1
+#undef CONFIG_FDT_FIXUP_NOR_FLASH_SIZE
 #endif
 
 #ifdef CONFIG_ENV_IS_IN_FLASH