Skip to content
Snippets Groups Projects
Commit 74d9d523 authored by Kumar Gala's avatar Kumar Gala
Browse files

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: default avatarKumar Gala <galak@kernel.crashing.org>
parent aa7f281c
No related branches found
No related tags found
No related merge requests found
...@@ -536,16 +536,16 @@ extern unsigned long get_clock_freq(void); ...@@ -536,16 +536,16 @@ extern unsigned long get_clock_freq(void);
#define CONFIG_FMAN_ENET #define CONFIG_FMAN_ENET
#endif #endif
#define CONFIG_SYS_FMAN_FW
#ifndef CONFIG_NAND #ifndef CONFIG_NAND
/* Default address of microcode for the Linux Fman driver */ /* Default address of microcode for the Linux Fman driver */
/* QE microcode/firmware address */ /* QE microcode/firmware address */
#define CONFIG_SYS_FMAN_FW_ADDR 0xEF000000 #define CONFIG_SYS_FMAN_FW_ADDR 0xEF000000
#define CONFIG_SYS_FMAN_FW_ADDR_PHYS CONFIG_SYS_FMAN_FW_ADDR
#else #else
#define CONFIG_SYS_QE_FW_IN_NAND 0x1f00000 #define CONFIG_SYS_QE_FW_IN_NAND 0x1f00000
#define CONFIG_SYS_FMAN_FW_ADDR 0x10000000
#define CONFIG_SYS_FMAN_FW_LENGTH 0x10000
#endif #endif
#define CONFIG_SYS_FMAN_FW_LENGTH 0x10000
#define CONFIG_SYS_FDT_PAD (0x3000 + CONFIG_SYS_FMAN_FW_LENGTH)
#ifdef CONFIG_FMAN_ENET #ifdef CONFIG_FMAN_ENET
#define CONFIG_SYS_FM1_DTSEC1_PHY_ADDR 0x2 #define CONFIG_SYS_FM1_DTSEC1_PHY_ADDR 0x2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment