]> git.sur5r.net Git - u-boot/blobdiff - board/amlogic/libretech-cc/libretech-cc.c
ARM: arch-meson: build memory banks using reported memory from registers
[u-boot] / board / amlogic / libretech-cc / libretech-cc.c
index 26c0e78a46c0e165c64804f7b3fe493ea20f9652..6be6e2ae93b49a9d215e1ec4883b9f7692faa55a 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
@@ -51,3 +52,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;
+}