summaryrefslogtreecommitdiffstats
path: root/include/configs/P1023RDS.h
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2011-07-28 14:34:30 -0500
committerKumar Gala <galak@kernel.crashing.org>2011-07-29 08:53:39 -0500
commit74d9d5239f5eb5ae6b6ed92d13db304d4bd2f699 (patch)
treec059948d61508df17b9a6c3c03d9cd00b3eaa16c /include/configs/P1023RDS.h
parentaa7f281ce4af14a95f1df88bf32d828562fb4604 (diff)
downloadtalos-obmc-uboot-74d9d5239f5eb5ae6b6ed92d13db304d4bd2f699.tar.gz
talos-obmc-uboot-74d9d5239f5eb5ae6b6ed92d13db304d4bd2f699.zip
powerpc/85xx: Fix build failure for P1023RDS
When we added the fman fdt fixup we forgot to fixup the P1023RDS platform. So we would get: fdt.c: In function 'fdt_fixup_fman_firmware': fdt.c:465:15: error: 'CONFIG_SYS_FMAN_FW_LENGTH' undeclared (first use in this function) fdt.c:465:15: note: each undeclared identifier is reported only once for each function it appears in Add the needed #defines in P1023RDS.h to fix this. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/configs/P1023RDS.h')
-rw-r--r--include/configs/P1023RDS.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/configs/P1023RDS.h b/include/configs/P1023RDS.h
index 4f14a02a30..95f3a2c181 100644
--- a/include/configs/P1023RDS.h
+++ b/include/configs/P1023RDS.h
@@ -536,16 +536,16 @@ extern unsigned long get_clock_freq(void);
#define CONFIG_FMAN_ENET
#endif
+#define CONFIG_SYS_FMAN_FW
#ifndef CONFIG_NAND
/* Default address of microcode for the Linux Fman driver */
/* QE microcode/firmware address */
#define CONFIG_SYS_FMAN_FW_ADDR 0xEF000000
-#define CONFIG_SYS_FMAN_FW_ADDR_PHYS CONFIG_SYS_FMAN_FW_ADDR
#else
#define CONFIG_SYS_QE_FW_IN_NAND 0x1f00000
-#define CONFIG_SYS_FMAN_FW_ADDR 0x10000000
-#define CONFIG_SYS_FMAN_FW_LENGTH 0x10000
#endif
+#define CONFIG_SYS_FMAN_FW_LENGTH 0x10000
+#define CONFIG_SYS_FDT_PAD (0x3000 + CONFIG_SYS_FMAN_FW_LENGTH)
#ifdef CONFIG_FMAN_ENET
#define CONFIG_SYS_FM1_DTSEC1_PHY_ADDR 0x2
OpenPOWER on IntegriCloud