summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorPrabhakar Kushwaha <prabhakar@freescale.com>2013-04-16 13:27:44 +0530
committerAndy Fleming <afleming@freescale.com>2013-06-20 13:51:24 -0500
commit74fa22ed731036f0bc3424c720632c1ee2752896 (patch)
tree394a46e8c7aabfd747fc01cb1dd60f1867126bf0 /include/configs
parent76d354f411696d6e19fd3156d18cb0359887ce8a (diff)
downloadu-boot-imx-74fa22ed731036f0bc3424c720632c1ee2752896.zip
u-boot-imx-74fa22ed731036f0bc3424c720632c1ee2752896.tar.gz
u-boot-imx-74fa22ed731036f0bc3424c720632c1ee2752896.tar.bz2
powerpc/mpc85xx:No NOR boot, do not compile IFC errata A003399
IFC errata A003399 is valid for IFC NOR boot i.e.if no on-board NOR flash or no NOR boot, do not compile its workaround. Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/P1010RDB.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/include/configs/P1010RDB.h b/include/configs/P1010RDB.h
index 5185597..0eeee65 100644
--- a/include/configs/P1010RDB.h
+++ b/include/configs/P1010RDB.h
@@ -31,10 +31,10 @@
#define CONFIG_PHYS_64BIT
#endif
-#ifdef CONFIG_P1010RDB
#define CONFIG_P1010
+#define CONFIG_E500 /* BOOKE e500 family */
+#include <asm/config_mpc85xx.h>
#define CONFIG_NAND_FSL_IFC
-#endif
#ifdef CONFIG_SDCARD
#define CONFIG_RAMBOOT_SDCARD
@@ -429,6 +429,13 @@ extern unsigned long get_sdram_size(void);
#undef CONFIG_SYS_RAMBOOT
#endif
+#ifdef CONFIG_SYS_FSL_ERRATUM_IFC_A003399
+#if !defined(CONFIG_SPL) && !defined(CONFIG_SYS_RAMBOOT)\
+ && !defined(CONFIG_SECURE_BOOT)
+#define CONFIG_A003399_NOR_WORKAROUND
+#endif
+#endif
+
#define CONFIG_BOARD_EARLY_INIT_F /* Call board_pre_init */
#define CONFIG_BOARD_EARLY_INIT_R