summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGrzegorz Bernacki <gjb@semihalf.com>2008-01-08 17:16:15 +0100
committerWolfgang Denk <wd@denx.de>2008-01-12 15:36:17 +0100
commit281ff9a45cf9eb17b8a9afc436cb783cf1f62363 (patch)
treebbaead33085ac4021caf04214b4efdda61757168 /include
parenta10ff9196183e7e5f2ae3c4f5f3cbe92ae9cb719 (diff)
downloadu-boot-imx-281ff9a45cf9eb17b8a9afc436cb783cf1f62363.zip
u-boot-imx-281ff9a45cf9eb17b8a9afc436cb783cf1f62363.tar.gz
u-boot-imx-281ff9a45cf9eb17b8a9afc436cb783cf1f62363.tar.bz2
ads5121: Added support for FDT.
Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
Diffstat (limited to 'include')
-rw-r--r--include/asm-ppc/u-boot.h3
-rw-r--r--include/configs/ads5121.h8
2 files changed, 11 insertions, 0 deletions
diff --git a/include/asm-ppc/u-boot.h b/include/asm-ppc/u-boot.h
index bd9b6f7..2b31814 100644
--- a/include/asm-ppc/u-boot.h
+++ b/include/asm-ppc/u-boot.h
@@ -74,6 +74,9 @@ typedef struct bd_info {
unsigned long bi_sccfreq; /* SCC_CLK Freq, in MHz */
unsigned long bi_vco; /* VCO Out from PLL, in MHz */
#endif
+#if defined(CONFIG_MPC512X)
+ unsigned long bi_ipsfreq; /* IPS Bus Freq, in MHz */
+#endif /* CONFIG_MPC512X */
#if defined(CONFIG_MPC5xxx)
unsigned long bi_ipbfreq; /* IPB Bus Freq, in MHz */
unsigned long bi_pcifreq; /* PCI Bus Freq, in MHz */
diff --git a/include/configs/ads5121.h b/include/configs/ads5121.h
index 58060a8..11e7e44 100644
--- a/include/configs/ads5121.h
+++ b/include/configs/ads5121.h
@@ -407,4 +407,12 @@
#define CONFIG_BOOTCOMMAND "run flash_self"
+#define CONFIG_OF_LIBFDT 1
+#define CONFIG_OF_BOARD_SETUP 1
+
+#define OF_CPU "PowerPC,5121@0"
+#define OF_SOC "soc5121@80000000"
+#define OF_TBCLK (bd->bi_busfreq / 4)
+#define OF_STDOUT_PATH "/soc5121@80000000/serial@11300"
+
#endif /* __CONFIG_H */