summaryrefslogtreecommitdiff
path: root/board/amlogic/khadas-vim/khadas-vim.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/amlogic/khadas-vim/khadas-vim.c')
-rw-r--r--board/amlogic/khadas-vim/khadas-vim.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/board/amlogic/khadas-vim/khadas-vim.c b/board/amlogic/khadas-vim/khadas-vim.c
index db9c292458..5e198569db 100644
--- a/board/amlogic/khadas-vim/khadas-vim.c
+++ b/board/amlogic/khadas-vim/khadas-vim.c
@@ -9,6 +9,7 @@
#include <dm.h>
#include <asm/io.h>
#include <asm/arch/gxbb.h>
+#include <asm/arch/mem.h>
#include <asm/arch/sm.h>
#include <asm/arch/eth.h>
@@ -47,3 +48,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;
+}