From: Martin Krause Date: Mon, 25 Feb 2008 16:52:40 +0000 (+0100) Subject: TQM5200: use automatic fdt memory fixup (part 2) X-Git-Tag: v2008.10-rc1~664 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;ds=sidebyside;h=c313b2c6c555e7d89ec59bd51c59ab164ad0105d;p=platform%2Fkernel%2Fu-boot.git 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 --- diff --git a/board/tqm5200/tqm5200.c b/board/tqm5200/tqm5200.c index 97e3099..33ad2a3 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 +#endif /* CONFIG_OF_LIBFDT */ + DECLARE_GLOBAL_DATA_PTR; #ifdef CONFIG_PS2MULT