[U-Boot-Users] [PATCH 2/3] Change the stxxst to CONFIG_OF_LIBFDT

Jerry Van Baren
2008-06-02T23:55:20Z

This was configured to use the deprecated CONFIG_OF_FLAT_TREE, change
to CONFIG_OF_LIBFDT.

WARNING: This conversion was untested because I do not have a board to
test it on. It isn't apparent to me that a flattened device tree is
used any more.

Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
---
include/configs/stxxtc.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/configs/stxxtc.h b/include/configs/stxxtc.h
index 97a1032..fcafba5 100644
--- a/include/configs/stxxtc.h
+++ b/include/configs/stxxtc.h
@@ -590,8 +590,8 @@ typedef unsigned int led_id_t;

/*****************************************************************************/

-/* pass open firmware flat tree */
-#define CONFIG_OF_FLAT_TREE 1
+/* pass open firmware flattened device tree */
+#define CONFIG_OF_LIBFDT 1

#define OF_CPU "PowerPC,MPC870 at 0"
#define OF_TBCLK (MPC8XX_HZ / 16)
--
1.5.5.1