summaryrefslogtreecommitdiff
path: root/board/uc101/uc101.c
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2009-09-23 07:56:04 +0200
committerWolfgang Denk <wd@denx.de>2009-09-25 01:19:17 +0200
commit7f625fc6d3ba8f890e843ac01717804c2462ed53 (patch)
treeb1a91054c09231da54bc1b910248215358587fa4 /board/uc101/uc101.c
parent9d142ea8f787882ab732fa531a34db091bfa363d (diff)
downloadu-boot-imx-7f625fc6d3ba8f890e843ac01717804c2462ed53.zip
u-boot-imx-7f625fc6d3ba8f890e843ac01717804c2462ed53.tar.gz
u-boot-imx-7f625fc6d3ba8f890e843ac01717804c2462ed53.tar.bz2
mpc5200, mucmc52, uc101: config cleanup
- As these boards are similiar, collect common config options in manroland/common.h and manroland/mpc52xx-common.h for mpc5200 specific common options for this manufacturer. - add OF support - update default environment Signed-off-by: Heiko Schocher <hs@denx.de> Minor edit of commit message. Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'board/uc101/uc101.c')
-rw-r--r--board/uc101/uc101.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/board/uc101/uc101.c b/board/uc101/uc101.c
index 7df349f..4030b9d 100644
--- a/board/uc101/uc101.c
+++ b/board/uc101/uc101.c
@@ -371,3 +371,10 @@ void hw_watchdog_reset(void)
*(vu_long *)MPC5XXX_GPT0_ENABLE = GPT_OUT_0;
}
#endif
+
+#if defined(CONFIG_OF_LIBFDT) && defined(CONFIG_OF_BOARD_SETUP)
+void ft_board_setup(void *blob, bd_t *bd)
+{
+ ft_cpu_setup(blob, bd);
+}
+#endif /* defined(CONFIG_OF_LIBFDT) && defined(CONFIG_OF_BOARD_SETUP) */