summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2018-08-27 01:29:31 -0700
committerYe Li <ye.li@nxp.com>2018-08-28 01:08:55 -0700
commit64c88236e467f5dc7aa1c9d3047137707af97103 (patch)
treede092c49d6da350b07967d4eeaf02ead95d58fbe /include
parent69514b8e04f32dd4273cf7a86e2a723f8f0c1460 (diff)
MLK-19342 imx8qm_mek: Enable fastboot to support uuu
Add fastboot relevant configurations and update mfgtool environments to support uuu. Signed-off-by: Ye Li <ye.li@nxp.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/imx8qm_mek.h21
1 files changed, 9 insertions, 12 deletions
diff --git a/include/configs/imx8qm_mek.h b/include/configs/imx8qm_mek.h
index 48fab1c6db2..cafa81b93c7 100644
--- a/include/configs/imx8qm_mek.h
+++ b/include/configs/imx8qm_mek.h
@@ -9,12 +9,15 @@
#include <linux/sizes.h>
#include <asm/arch/imx-regs.h>
+#include "imx_env.h"
#define CONFIG_REMAKE_ELF
#define CONFIG_BOARD_EARLY_INIT_F
#define CONFIG_ARCH_MISC_INIT
+#define CONFIG_CMD_READ
+
/* Flat Device Tree Definitions */
#define CONFIG_OF_BOARD_SETUP
@@ -153,17 +156,11 @@
#endif
#define CONFIG_MFG_ENV_SETTINGS \
- "mfgtool_args=setenv bootargs console=${console},${baudrate} " \
- "rdinit=/linuxrc " \
- "g_mass_storage.stall=0 g_mass_storage.removable=1 " \
- "g_mass_storage.idVendor=0x066F g_mass_storage.idProduct=0x37FF "\
- "g_mass_storage.iSerialNumber=\"\" "\
- MFG_NAND_PARTITION \
- "clk_ignore_unused "\
- "\0" \
- "initrd_addr=0x83800000\0" \
+ CONFIG_MFG_ENV_SETTINGS_DEFAULT \
+ "initrd_addr=0x83100000\0" \
"initrd_high=0xffffffff\0" \
- "bootcmd_mfg=run mfgtool_args;booti ${loadaddr} ${initrd_addr} ${fdt_addr};\0" \
+ "emmc_dev=0\0" \
+ "sd_dev=1\0" \
/* Initial environment variables */
#define CONFIG_EXTRA_ENV_SETTINGS \
@@ -183,8 +180,6 @@
"cntr_file=os_cntr_signed.bin\0" \
"boot_fdt=try\0" \
"fdt_file=fsl-imx8qm-mek.dtb\0" \
- "initrd_addr=0x83800000\0" \
- "initrd_high=0xffffffffffffffff\0" \
"mmcdev="__stringify(CONFIG_SYS_MMC_ENV_DEV)"\0" \
"mmcpart=" __stringify(CONFIG_SYS_MMC_IMG_LOAD_PART) "\0" \
"mmcroot=" CONFIG_MMCROOT " rootwait rw\0" \
@@ -346,6 +341,8 @@
#define CONFIG_SYS_FSL_FSPI_AHB
#endif
+#define CONFIG_SERIAL_TAG
+
/* USB Config */
#ifdef CONFIG_CMD_USB
#define CONFIG_USB_MAX_CONTROLLER_COUNT 2