ARM: arch-meson: build memory banks using reported memory from registers
[oweals/u-boot.git] / board / amlogic / p212 / p212.c
index 2b6d88ab1b94c9efdbf35e26ece9e9728955ae13..5fde53438ecd5f1f293f1e27f84ed07916f18870 100644 (file)
@@ -11,6 +11,7 @@
 #include <asm/arch/gxbb.h>
 #include <asm/arch/sm.h>
 #include <asm/arch/eth.h>
+#include <asm/arch/mem.h>
 
 #define EFUSE_SN_OFFSET                20
 #define EFUSE_SN_SIZE          16
@@ -46,3 +47,10 @@ int misc_init_r(void)
 
        return 0;
 }
+
+int ft_board_setup(void *blob, bd_t *bd)
+{
+       meson_gx_init_reserved_memory(blob);
+
+       return 0;
+}