projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
5xxx, fdt: move fdt_fixup_memory() to cpu.c file
[platform/kernel/u-boot.git]
/
board
/
uc101
/
uc101.c
diff --git
a/board/uc101/uc101.c
b/board/uc101/uc101.c
index
7df349f
..
c7dfb7b
100644
(file)
--- a/
board/uc101/uc101.c
+++ b/
board/uc101/uc101.c
@@
-31,6
+31,7
@@
*/
#include <common.h>
*/
#include <common.h>
+#include <fdt_support.h>
#include <mpc5xxx.h>
#include <pci.h>
#include <malloc.h>
#include <mpc5xxx.h>
#include <pci.h>
#include <malloc.h>
@@
-371,3
+372,10
@@
void hw_watchdog_reset(void)
*(vu_long *)MPC5XXX_GPT0_ENABLE = GPT_OUT_0;
}
#endif
*(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) */