From patchwork Sun Jul 12 22:33:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Woodhouse X-Patchwork-Id: 241398 List-Id: U-Boot discussion From: dwmw2 at infradead.org (David Woodhouse) Date: Sun, 12 Jul 2020 23:33:02 +0100 Subject: [PATCH 2/3] board: mediatek: Use CONFIG_DEFAULT_FDT_FILE for default environment In-Reply-To: <20200712223303.2094457-1-dwmw2@infradead.org> References: <20200712223303.2094457-1-dwmw2@infradead.org> Message-ID: <20200712223303.2094457-2-dwmw2@infradead.org> Rather than hard-coding it to the Banana Pi R2. Signed-off-by: David Woodhouse --- configs/mt7623n_bpir2_defconfig | 2 +- include/configs/mt7623.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/mt7623n_bpir2_defconfig b/configs/mt7623n_bpir2_defconfig index 6b9fbd7e22..918c52d608 100644 --- a/configs/mt7623n_bpir2_defconfig +++ b/configs/mt7623n_bpir2_defconfig @@ -12,7 +12,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 fe436cca38..33e07ed646 100644 --- a/include/configs/mt7623.h +++ b/include/configs/mt7623.h @@ -51,7 +51,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