23 lines
851 B
Diff
23 lines
851 B
Diff
diff --git a/configs/qemu-riscv64_smode_defconfig b/configs/qemu-riscv64_smode_defconfig
|
|
index 7e1e5a77..792afee8 100644
|
|
--- a/configs/qemu-riscv64_smode_defconfig
|
|
+++ b/configs/qemu-riscv64_smode_defconfig
|
|
@@ -11,3 +11,7 @@ CONFIG_CMD_BOOTEFI_SELFTEST=y
|
|
CONFIG_CMD_NVEDIT_EFI=y
|
|
# CONFIG_CMD_MII is not set
|
|
CONFIG_OF_PRIOR_STAGE=y
|
|
+CONFIG_USE_BOOTARGS=y
|
|
+CONFIG_BOOTARGS="console=ttyS0 earlycon"
|
|
+CONFIG_USE_PREBOOT=y
|
|
+CONFIG_PREBOOT="cp.l ${fdtcontroladdr} ${fdt_addr_r} 0x10000;"
|
|
diff --git a/configs/sifive_fu540_defconfig b/configs/sifive_fu540_defconfig
|
|
index 48865e5f..8a4bc0b7 100644
|
|
--- a/configs/sifive_fu540_defconfig
|
|
+++ b/configs/sifive_fu540_defconfig
|
|
@@ -9,3 +9,5 @@ CONFIG_MISC_INIT_R=y
|
|
CONFIG_DISPLAY_CPUINFO=y
|
|
CONFIG_DISPLAY_BOARDINFO=y
|
|
CONFIG_OF_PRIOR_STAGE=y
|
|
+CONFIG_USE_BOOTARGS=y
|
|
+CONFIG_BOOTARGS="console=ttySIF0 earlycon"
|