浏览代码

starfive: beaglev: Set default fdtfile name

Andreas Schwab 3 年之前
父节点
当前提交
1669ec339a
共有 2 个文件被更改,包括 2 次插入0 次删除
  1. 1 0
      configs/starfive_jh7100_beagle_v_smode_defconfig
  2. 1 0
      include/configs/starfive-jh7100.h

+ 1 - 0
configs/starfive_jh7100_beagle_v_smode_defconfig

@@ -30,6 +30,7 @@ CONFIG_BOOTARGS="console=ttyS0,115200 debug rootwait earlycon stmmaceth=chain_mo
 CONFIG_BOOTCOMMAND="run bootcmd_mmc0"
 CONFIG_USE_PREBOOT=y
 CONFIG_PREBOOT="setenv fdt_addr ${fdtcontroladdr};fdt addr ${fdtcontroladdr};"
+CONFIG_DEFAULT_FDT_FILE="starfive/jh7100-beaglev-starlight.dtb"
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_LOG_MAX_LEVEL=5
 CONFIG_DISPLAY_CPUINFO=y

+ 1 - 0
include/configs/starfive-jh7100.h

@@ -123,6 +123,7 @@
 	"type_guid_gpt_loader2=" TYPE_GUID_LOADER2 "\0" \
 	"type_guid_gpt_system=" TYPE_GUID_SYSTEM "\0" \
 	"partitions=" PARTS_DEFAULT "\0" \
+	"fdtfile=" CONFIG_DEFAULT_FDT_FILE "\0" \
 	BOOTENV \
 	BOOTENV_SF