diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2019-07-19 17:06:41 +0200 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2019-08-26 18:31:54 +0200 |
commit | 92d0497781fdddf43e33791b7e676b0ebf8d6878 (patch) | |
tree | 838656249af4a8534c0db6c98d8efa92afe9a166 | |
parent | d8c84d9150bda553b2c814bdc0f5a74b2a985cdd (diff) |
apalis-imx8/colibri-imx8x: set fdtfile since it is used by distro bootcmdColibri-iMX8X_Console-Image_3.0b2.65-20190830Apalis-iMX8_Console-Image_3.0b2.65-20190830
The environment variable fdtfile is used in include/config_distro_bootcmd.h
hence we should make sure it is set by default.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
-rw-r--r-- | include/configs/apalis-imx8.h | 5 | ||||
-rw-r--r-- | include/configs/colibri-imx8qxp.h | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/include/configs/apalis-imx8.h b/include/configs/apalis-imx8.h index e6e825b4b40..1e88391cf6a 100644 --- a/include/configs/apalis-imx8.h +++ b/include/configs/apalis-imx8.h @@ -98,6 +98,8 @@ #define BOOTENV #endif +#define FDT_FILE "fsl-imx8qm-apalis.dtb" + /* Initial environment variables */ #define CONFIG_EXTRA_ENV_SETTINGS \ BOOTENV \ @@ -110,7 +112,8 @@ "console=ttyLP1,115200 earlycon=lpuart32,0x5a070000,115200\0" \ "fdt_addr=0x83000000\0" \ "boot_fdt=try\0" \ - "fdt_file=fsl-imx8qm-apalis.dtb\0" \ + "fdt_file=" FDT_FILE "\0" \ + "fdtfile=" FDT_FILE "\0" \ "initrd_addr=0x83800000\0" \ "initrd_high=0xffffffffffffffff\0" \ "kernel_image=Image\0" \ diff --git a/include/configs/colibri-imx8qxp.h b/include/configs/colibri-imx8qxp.h index d86348c2599..d2a1468ebeb 100644 --- a/include/configs/colibri-imx8qxp.h +++ b/include/configs/colibri-imx8qxp.h @@ -79,6 +79,8 @@ #define BOOTENV #endif +#define FDT_FILE "fsl-imx8qxp-colibri-eval-v3.dtb" + /* Initial environment variables */ #define CONFIG_EXTRA_ENV_SETTINGS \ BOOTENV \ @@ -92,7 +94,8 @@ "console=ttyLP3,115200 earlycon=lpuart32,0x5a090000,115200\0" \ "fdt_addr=0x83000000\0" \ "boot_fdt=try\0" \ - "fdt_file=fsl-imx8qxp-colibri-eval-v3.dtb\0" \ + "fdt_file=" FDT_FILE "\0" \ + "fdtfile=" FDT_FILE "\0" \ "initrd_addr=0x83800000\0" \ "initrd_high=0xffffffffffffffff\0" \ "kernel_image=Image\0" \ |