vexpress64: cut config and defaults for unclear variant
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 23 Mar 2015 10:06:14 +0000 (11:06 +0100)
committerTom Rini <trini@konsulko.com>
Sat, 28 Mar 2015 16:07:46 +0000 (12:07 -0400)
This variant that is neither FVP / Base Model or Juno Versatile
Express 64bit is confusing. Get rid of it unless someone can
point out what machine that really is. Seems to be an evolutional
artifact in the config base.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
board/armltd/vexpress64/Kconfig
configs/vexpress_aemv8a_defconfig [deleted file]
include/configs/vexpress_aemv8a.h

index 7d5e7be..f5693ae 100644 (file)
@@ -1,16 +1,3 @@
-if TARGET_VEXPRESS64_AEMV8A
-
-config SYS_BOARD
-       default "vexpress64"
-
-config SYS_VENDOR
-       default "armltd"
-
-config SYS_CONFIG_NAME
-       default "vexpress_aemv8a"
-
-endif
-
 if TARGET_VEXPRESS64_BASE_FVP
 
 config SYS_BOARD
diff --git a/configs/vexpress_aemv8a_defconfig b/configs/vexpress_aemv8a_defconfig
deleted file mode 100644 (file)
index 9f4b876..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-CONFIG_ARM=y
-CONFIG_TARGET_VEXPRESS64_AEMV8A=y
-CONFIG_DEFAULT_DEVICE_TREE="vexpress64"
index 5792461..c472143 100644 (file)
 
 #define CONFIG_REMAKE_ELF
 
-#if !defined(CONFIG_TARGET_VEXPRESS64_BASE_FVP) && \
-    !defined(CONFIG_TARGET_VEXPRESS64_JUNO)
-/* Base FVP and Juno not using GICv3 yet */
-#define CONFIG_GICV3
-#endif
-
-/*#define CONFIG_ARMV8_SWITCH_TO_EL1*/
-
 #define CONFIG_SUPPORT_RAW_INITRD
 
 /* Cache Definitions */
@@ -46,8 +38,7 @@
 #define CONFIG_SYS_TEXT_BASE           0xe0000000
 #define CONFIG_SYS_INIT_SP_ADDR         (CONFIG_SYS_SDRAM_BASE + 0x7fff0)
 #else
-#define CONFIG_SYS_TEXT_BASE           0x80000000
-#define CONFIG_SYS_INIT_SP_ADDR         (CONFIG_SYS_SDRAM_BASE + 0x7fff0)
+#error "Unknown board variant"
 #endif
 
 /* Flat Device Tree Definitions */
 #define GICD_BASE                      (0x2C010000)
 #define GICC_BASE                      (0x2C02f000)
 #else
-#define GICD_BASE                      (0x2C001000)
-#define GICC_BASE                      (0x2C002000)
-#endif
+#error "Unknown board variant"
 #endif
+#endif /* !CONFIG_GICV3 */
 
 #define CONFIG_SYS_MEMTEST_START       V2M_BASE
 #define CONFIG_SYS_MEMTEST_END         (V2M_BASE + 0x80000000)
 #define CONFIG_BOOTDELAY               1
 
 #else
-
-#define CONFIG_EXTRA_ENV_SETTINGS      \
-                                       "kernel_addr_r=0x80000000\0"    \
-                                       "initrd_addr_r=0x88000000\0"    \
-                                       "fdt_addr_r=0x83000000\0"               \
-                                       "fdt_high=0xa0000000\0"
-
-#define CONFIG_BOOTARGS                        "console=ttyAMA0,115200n8 root=/dev/ram0"
-#define CONFIG_BOOTCOMMAND             "bootm $kernel_addr_r " \
-                                       "$initrd_addr_r:$initrd_size $fdt_addr_r"
-#define CONFIG_BOOTDELAY               -1
+#error "Unknown board variant"
 #endif
 
 /* Do not preserve environment */