]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
TQM5200: use automatic fdt memory fixup (part 2)
authorMartin Krause <martin.krause@tqs.de>
Mon, 25 Feb 2008 16:52:40 +0000 (17:52 +0100)
committerWolfgang Denk <wd@denx.de>
Sun, 2 Mar 2008 20:32:04 +0000 (21:32 +0100)
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>
board/tqm5200/tqm5200.c

index 97e3099b52e932bdf76d8fb431eab31f435ede08..33ad2a32a54d0485d66d0e7a433ea8a51acea9bf 100644 (file)
 #include "mt48lc16m16a2-75.h"
 #endif
 
+#ifdef CONFIG_OF_LIBFDT
+#include <fdt_support.h>
+#endif /* CONFIG_OF_LIBFDT */
+
 DECLARE_GLOBAL_DATA_PTR;
 
 #ifdef CONFIG_PS2MULT