From: David Woodhouse Date: Sun, 12 Jul 2020 22:33:02 +0000 (+0100) Subject: board: mediatek: Use CONFIG_DEFAULT_FDT_FILE for default environment X-Git-Url: http://git.dujemihanovic.xyz/img/static/gitweb.css?a=commitdiff_plain;h=368ac3f205deddec058a2757556786a9176d7fb7;p=u-boot.git board: mediatek: Use CONFIG_DEFAULT_FDT_FILE for default environment Rather than hard-coding it to the Banana Pi R2. Signed-off-by: David Woodhouse --- diff --git a/configs/mt7623n_bpir2_defconfig b/configs/mt7623n_bpir2_defconfig index 5b753a9b76..b88067e8f6 100644 --- a/configs/mt7623n_bpir2_defconfig +++ b/configs/mt7623n_bpir2_defconfig @@ -13,7 +13,7 @@ CONFIG_FIT=y CONFIG_FIT_VERBOSE=y CONFIG_BOOTDELAY=3 CONFIG_SYS_CONSOLE_IS_IN_ENV=y -CONFIG_DEFAULT_FDT_FILE="mt7623n-bananapi-bpi-r2" +CONFIG_DEFAULT_FDT_FILE="mt7623n-bananapi-bpi-r2.dtb" # CONFIG_DISPLAY_BOARDINFO is not set CONFIG_SYS_PROMPT="U-Boot> " CONFIG_CMD_BOOTMENU=y diff --git a/include/configs/mt7623.h b/include/configs/mt7623.h index d969297c82..b7e9aff21c 100644 --- a/include/configs/mt7623.h +++ b/include/configs/mt7623.h @@ -49,7 +49,7 @@ "fdt_high=" FDT_HIGH "\0" \ "kernel_addr_r=0x84000000\0" \ "fdt_addr_r=" FDT_HIGH "\0" \ - "fdtfile=mt7623n-bananapi-bpi-r2.dtb" "\0" + "fdtfile=" CONFIG_DEFAULT_FDT_FILE "\0" /* Ethernet */ #define CONFIG_IPADDR 192.168.1.1