|
@@ -30,7 +30,8 @@
|
|
|
#define CONFIG_BOOTP_VCI_STRING "U-boot.armv8.vexpress_aemv8a"
|
|
|
|
|
|
/* Link Definitions */
|
|
|
-#ifdef CONFIG_TARGET_VEXPRESS64_BASE_FVP
|
|
|
+#if defined(CONFIG_TARGET_VEXPRESS64_BASE_FVP) || \
|
|
|
+ defined(CONFIG_TARGET_VEXPRESS64_BASE_FVP_DRAM)
|
|
|
/* ATF loads u-boot here for BASE_FVP model */
|
|
|
#define CONFIG_SYS_TEXT_BASE 0x88000000
|
|
|
#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x03f00000)
|
|
@@ -103,7 +104,8 @@
|
|
|
#define GICR_BASE (0x2f100000)
|
|
|
#else
|
|
|
|
|
|
-#ifdef CONFIG_TARGET_VEXPRESS64_BASE_FVP
|
|
|
+#if defined(CONFIG_TARGET_VEXPRESS64_BASE_FVP) || \
|
|
|
+ defined(CONFIG_TARGET_VEXPRESS64_BASE_FVP_DRAM)
|
|
|
#define GICD_BASE (0x2f000000)
|
|
|
#define GICC_BASE (0x2c000000)
|
|
|
#elif CONFIG_TARGET_VEXPRESS64_JUNO
|
|
@@ -233,6 +235,25 @@
|
|
|
|
|
|
#define CONFIG_BOOTDELAY 1
|
|
|
|
|
|
+#elif CONFIG_TARGET_VEXPRESS64_BASE_FVP_DRAM
|
|
|
+#define CONFIG_EXTRA_ENV_SETTINGS \
|
|
|
+ "kernel_addr=0x80080000\0" \
|
|
|
+ "initrd_addr=0x84000000\0" \
|
|
|
+ "fdt_addr=0x83000000\0" \
|
|
|
+ "fdt_high=0xffffffffffffffff\0" \
|
|
|
+ "initrd_high=0xffffffffffffffff\0"
|
|
|
+
|
|
|
+#define CONFIG_BOOTARGS "console=ttyAMA0 earlyprintk=pl011,"\
|
|
|
+ "0x1c090000 debug user_debug=31 "\
|
|
|
+ "androidboot.hardware=fvpbase "\
|
|
|
+ "root=/dev/vda2 rw "\
|
|
|
+ "rootwait "\
|
|
|
+ "loglevel=9"
|
|
|
+
|
|
|
+#define CONFIG_BOOTCOMMAND "booti $kernel_addr $initrd_addr $fdt_addr"
|
|
|
+
|
|
|
+#define CONFIG_BOOTDELAY 1
|
|
|
+
|
|
|
#else
|
|
|
#error "Unknown board variant"
|
|
|
#endif
|