summaryrefslogtreecommitdiff
path: root/board/tqm5200/tqm5200.c
diff options
context:
space:
mode:
authorMartin Krause <martin.krause@tqs.de>2008-02-25 17:52:40 +0100
committerWolfgang Denk <wd@denx.de>2008-03-02 21:32:04 +0100
commitc313b2c6c555e7d89ec59bd51c59ab164ad0105d (patch)
tree89e4a68ad650cb2473e452082a73897de757a69c /board/tqm5200/tqm5200.c
parent24ae0d1728f446d634728802370f50d7651d9f48 (diff)
TQM5200: use automatic fdt memory fixup (part 2)
Call fdt_fixup_memory() on the boards TQM5200, TQM5200_B, TQM5200S, TB5200 and TB5200_B to fixup the /memory node with the memory values detected by U-Boot. Signed-off-by: Martin Krause <martin.krause@tqs.de>
Diffstat (limited to 'board/tqm5200/tqm5200.c')
-rw-r--r--board/tqm5200/tqm5200.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/tqm5200/tqm5200.c b/board/tqm5200/tqm5200.c
index 97e3099b52..33ad2a32a5 100644
--- a/board/tqm5200/tqm5200.c
+++ b/board/tqm5200/tqm5200.c
@@ -43,6 +43,10 @@
#include "mt48lc16m16a2-75.h"
#endif
+#ifdef CONFIG_OF_LIBFDT
+#include <fdt_support.h>
+#endif /* CONFIG_OF_LIBFDT */
+
DECLARE_GLOBAL_DATA_PTR;
#ifdef CONFIG_PS2MULT