summaryrefslogtreecommitdiff
path: root/board/freescale/t104xrdb/spl.c
diff options
context:
space:
mode:
authorPrabhakar Kushwaha <prabhakar@freescale.com>2014-10-29 22:33:09 +0530
committerYork Sun <yorksun@freescale.com>2014-12-05 08:06:08 -0800
commit9f074e67f5a2131336ff1838f2a82e0c2e15d33c (patch)
tree8c84aabef031962bc68e57740e9cebd54ffb6523 /board/freescale/t104xrdb/spl.c
parent1b2af9b4e23d396dca3eaa06fc9804659d22df0d (diff)
downloadu-boot-9f074e67f5a2131336ff1838f2a82e0c2e15d33c.tar.gz
u-boot-9f074e67f5a2131336ff1838f2a82e0c2e15d33c.tar.bz2
u-boot-9f074e67f5a2131336ff1838f2a82e0c2e15d33c.zip
powerpc/mpc85xx:Put errata number for T104x NAND boot issue
When device is configured to load RCW from NAND flash IFC_A[16:31] are driven low after RCW loading. Hence Devices connected on IFC_CS[1:7] and using IFC_A[16:31] lines are not accessible. Workaround is already in-place. Put the errata number to adhere errata handling framework. Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'board/freescale/t104xrdb/spl.c')
-rw-r--r--board/freescale/t104xrdb/spl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/freescale/t104xrdb/spl.c b/board/freescale/t104xrdb/spl.c
index 3822a37738..75d9d9c5fa 100644
--- a/board/freescale/t104xrdb/spl.c
+++ b/board/freescale/t104xrdb/spl.c
@@ -34,12 +34,12 @@ unsigned long get_board_ddr_clk(void)
void board_init_f(ulong bootflag)
{
u32 plat_ratio, sys_clk, uart_clk;
-#ifdef CONFIG_SPL_NAND_BOOT
+#if defined(CONFIG_SPL_NAND_BOOT) && defined(CONFIG_A008044_WORKAROUND)
u32 porsr1, pinctl;
#endif
ccsr_gur_t *gur = (void *)CONFIG_SYS_MPC85xx_GUTS_ADDR;
-#ifdef CONFIG_SPL_NAND_BOOT
+#if defined(CONFIG_SPL_NAND_BOOT) && defined(CONFIG_A008044_WORKAROUND)
/*
* There is T1040 SoC issue where NOR, FPGA are inaccessible during
* NAND boot because IFC signals > IFC_AD7 are not enabled.