]> git.sur5r.net Git - u-boot/commitdiff
85xx: enable FDT support for STX SSA board
authorWolfgang Denk <wd@denx.de>
Mon, 25 Jul 2011 13:15:44 +0000 (15:15 +0200)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 29 Jul 2011 13:53:38 +0000 (08:53 -0500)
We also have to shift TEXT_BASE to accomodate for the additional
code size.

Signed-off-by: Wolfgang Denk <wd@denx.de>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
board/stx/stxssa/stxssa.c
include/configs/stxssa.h

index 83ffcd2b924e7b80c0622025a3138779ff01f6f0..3077eb3581af517a9ba41bc9f413bd3b71bd05f8 100644 (file)
@@ -34,6 +34,7 @@
 #include <asm/processor.h>
 #include <asm/mmu.h>
 #include <asm/immap_85xx.h>
+#include <asm/fsl_pci.h>
 #include <asm/fsl_ddr_sdram.h>
 #include <ioports.h>
 #include <asm/io.h>
@@ -247,6 +248,13 @@ reset_phy(void)
 #endif
 }
 
+#ifdef CONFIG_OF_BOARD_SETUP
+void ft_board_setup(void *blob, bd_t *bd)
+{
+       ft_cpu_setup (blob, bd);
+}
+#endif /* CONFIG_OF_BOARD_SETUP */
+
 int
 board_early_init_f(void)
 {
index d5dd94f55152a329e715152efde401b0f4b757e4..141da26473391daecda7fe5117d9bc7ee66738b5 100644 (file)
@@ -43,7 +43,7 @@
 #define CONFIG_STXSSA          1       /* Silicon Tx GPPP SSA board specific*/
 #define CONFIG_MPC8560         1
 
-#define        CONFIG_SYS_TEXT_BASE    0xFFFC0000
+#define        CONFIG_SYS_TEXT_BASE    0xFFF80000
 
 #define CONFIG_PCI                     /* PCI ethernet support */
 #define CONFIG_TSEC_ENET               /* tsec ethernet support*/
 #define CONFIG_SYS_PROMPT_HUSH_PS2 "> "
 #endif
 
+/* pass open firmware flat tree */
+#define CONFIG_OF_LIBFDT               1
+#define CONFIG_OF_BOARD_SETUP          1
+#define CONFIG_OF_STDOUT_VIA_ALIAS     1
+
 /*
  * I2C
  */