Signed-off-by: Antony Pavlov <antonynpavlov@xxxxxxxxx> --- arch/mips/boards/qemu-malta/init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/mips/boards/qemu-malta/init.c b/arch/mips/boards/qemu-malta/init.c index 28c23aa..fb4472f 100644 --- a/arch/mips/boards/qemu-malta/init.c +++ b/arch/mips/boards/qemu-malta/init.c @@ -20,7 +20,7 @@ #include <types.h> #include <driver.h> #include <init.h> -#include <memory.h> +#include <asm/memory.h> #include <ns16550.h> #include <mach/hardware.h> #include <io.h> @@ -30,7 +30,7 @@ static int malta_mem_init(void) { - barebox_add_memory_bank("ram0", 0xa0000000, SZ_256M); + mips_add_ram0(SZ_256M); return 0; } -- 1.7.10.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox