summaryrefslogtreecommitdiffstats
path: root/board
diff options
context:
space:
mode:
authorGerald Van Baren <vanbaren@cideas.com>2008-06-03 20:34:45 -0400
committerGerald Van Baren <vanbaren@cideas.com>2008-06-09 21:13:35 -0400
commitfec6d9ee7c10443f65ce1788ef818919167bbf2e (patch)
tree1504a066f4062f5ddead739a32555a4a7a1df09d /board
parent62bcdda293efa752f8281fbd9da03822b27ce82f (diff)
downloadblackbird-obmc-uboot-fec6d9ee7c10443f65ce1788ef818919167bbf2e.tar.gz
blackbird-obmc-uboot-fec6d9ee7c10443f65ce1788ef818919167bbf2e.zip
Remove the deprecated CONFIG_OF_FLAT_TREE
Use CONFIG_OF_LIBFDT instead to support flattened device trees. It is cleaner, has better functionality, and is better supported. Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
Diffstat (limited to 'board')
-rw-r--r--board/freescale/mpc7448hpc2/mpc7448hpc2.c22
-rw-r--r--board/tqm8272/tqm8272.c4
2 files changed, 1 insertions, 25 deletions
diff --git a/board/freescale/mpc7448hpc2/mpc7448hpc2.c b/board/freescale/mpc7448hpc2/mpc7448hpc2.c
index fcbebc0e2d..f6cd192a81 100644
--- a/board/freescale/mpc7448hpc2/mpc7448hpc2.c
+++ b/board/freescale/mpc7448hpc2/mpc7448hpc2.c
@@ -31,10 +31,7 @@
#include <common.h>
#include <74xx_7xx.h>
-#if defined(CONFIG_OF_FLAT_TREE)
-#include <ft_build.h>
-extern void ft_cpu_setup (void *blob, bd_t *bd);
-#endif
+#include <fdt_support.h>
#undef DEBUG
@@ -89,23 +86,6 @@ long int initdram (int board_type)
return dram_size (board_type);
}
-#if defined(CONFIG_OF_FLAT_TREE) && defined(CONFIG_OF_BOARD_SETUP)
-void
-ft_board_setup (void *blob, bd_t *bd)
-{
- u32 *p;
- int len;
-
- ft_cpu_setup (blob, bd);
-
- p = ft_get_prop (blob, "/memory/reg", &len);
- if (p != NULL) {
- *p++ = cpu_to_be32 (bd->bi_memstart);
- *p = cpu_to_be32 (bd->bi_memsize);
- }
-}
-#endif
-
#if defined(CONFIG_OF_BOARD_SETUP)
void
ft_board_setup(void *blob, bd_t *bd)
diff --git a/board/tqm8272/tqm8272.c b/board/tqm8272/tqm8272.c
index 7bd64012c4..ec1a37c7f9 100644
--- a/board/tqm8272/tqm8272.c
+++ b/board/tqm8272/tqm8272.c
@@ -30,10 +30,6 @@
#include <pci.h>
#include <asm/m8260_pci.h>
#endif
-#if CONFIG_OF_FLAT_TREE
-#include <ft_build.h>
-#include <image.h>
-#endif
#if 0
#define deb_printf(fmt,arg...) \
OpenPOWER on IntegriCloud