Răsfoiți Sursa

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>
Martin Krause 17 ani în urmă
părinte
comite
c313b2c6c5
1 a modificat fișierele cu 4 adăugiri și 0 ștergeri
  1. 4 0
      board/tqm5200/tqm5200.c

+ 4 - 0
board/tqm5200/tqm5200.c

@@ -43,6 +43,10 @@
 #include "mt48lc16m16a2-75.h"
 #include "mt48lc16m16a2-75.h"
 #endif
 #endif
 
 
+#ifdef CONFIG_OF_LIBFDT
+#include <fdt_support.h>
+#endif /* CONFIG_OF_LIBFDT */
+
 DECLARE_GLOBAL_DATA_PTR;
 DECLARE_GLOBAL_DATA_PTR;
 
 
 #ifdef CONFIG_PS2MULT
 #ifdef CONFIG_PS2MULT