]> git.sur5r.net Git - u-boot/blobdiff - cpu/mpc8xx/cpu.c
8xx: Update OF support on 8xx
[u-boot] / cpu / mpc8xx / cpu.c
index 97112f03daf168b7a311d1af7a91a34a05c08ce4..a86598e32e7aef70c810d6cae2b9d95eff791a57 100644 (file)
 #include <mpc8xx.h>
 #include <asm/cache.h>
 
+#if defined(CONFIG_OF_LIBFDT)
+#include <libfdt.h>
+#include <libfdt_env.h>
+#include <fdt_support.h>
+#endif
+
 DECLARE_GLOBAL_DATA_PTR;
 
 static char *cpu_warning = "\n         " \
@@ -631,4 +637,3 @@ void reset_8xx_watchdog (volatile immap_t * immr)
 
 #endif /* CONFIG_WATCHDOG */
 
-/* ------------------------------------------------------------------------- */