sunxi: provide ARMv8 mem_map for every ARM64 board
authorAndre Przywara <[email protected]>
Thu, 16 Feb 2017 01:20:24 +0000 (01:20 +0000)
committerJagan Teki <[email protected]>
Wed, 5 Apr 2017 09:33:17 +0000 (15:03 +0530)
Every armv8 board needs the memory map, so change the #ifdef to
ARM64 to avoid enumerating every single board or SoC.

Signed-off-by: Andre Przywara <[email protected]>
Acked-by: Maxime Ripard <[email protected]>
Reviewed-by: Jagan Teki <[email protected]>
arch/arm/mach-sunxi/board.c

index fdcf68e93be8bf1acde8aa9c0ee3efd2f96fb469..96764d1c851e797cced3e43e60b875a2475ccd7b 100644 (file)
@@ -40,7 +40,7 @@ struct fel_stash {
 
 struct fel_stash fel_stash __attribute__((section(".data")));
 
-#ifdef CONFIG_MACH_SUN50I
+#ifdef CONFIG_ARM64
 #include <asm/armv8/mmu.h>
 
 static struct mm_region sunxi_mem_map[] = {