diff options
author | Xiaoning Wang <xiaoning.wang@nxp.com> | 2018-08-01 16:59:29 +0800 |
---|---|---|
committer | Xiaoning Wang <xiaoning.wang@nxp.com> | 2018-08-01 16:59:29 +0800 |
commit | 810b750def0ca6aca9a8295c938a16947bc6fdab (patch) | |
tree | 3288f980f9f0ad4182483f5f6001cfcdfb8e564f /include | |
parent | e17440073f3105c654e0fbe66dd9ebda3d90d59e (diff) |
MLK-19059-4 Enable uuu for i.MX6SoloX in 2018 uboot
i.MX6SoloX boards enable fastboot as default.
Support: mx6sxsabresd_defconfig
mx6sxsabresd_emmc_defconfig
mx6sxsabresd_optee_defconfig
mx6sxsabresd_plugin_defconfig
uuu will use fastboot command to write emmc.
Except: mx6sxsabresd_m4fastup_defconfig
mx6sxsabresd_qspi2_defconfig
mx6sxsabresd_spl_defconfig -- this one will fail without any
changes when execute 'make -j8'.
Signed-off-by: Xiaoning Wang <xiaoning.wang@nxp.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/mx6sxsabresd.h | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/include/configs/mx6sxsabresd.h b/include/configs/mx6sxsabresd.h index f1546b894f9..a58c20870fe 100644 --- a/include/configs/mx6sxsabresd.h +++ b/include/configs/mx6sxsabresd.h @@ -11,6 +11,7 @@ #define __CONFIG_H #include "mx6_common.h" +#include "imx_env.h" #define CONFIG_DBG_MONITOR @@ -24,6 +25,10 @@ #define CONFIG_MXC_UART #define CONFIG_MXC_UART_BASE UART1_BASE +#define CONFIG_CMD_READ +#define CONFIG_SERIAL_TAG +#define CONFIG_FASTBOOT_USB_DEV 0 + #ifdef CONFIG_IMX_BOOTAUX /* Set to QSPI2 B flash at default */ #ifdef CONFIG_DM_SPI @@ -65,21 +70,11 @@ #define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG #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.file=/fat g_mass_storage.ro=1 " \ - "g_mass_storage.idVendor=0x066F g_mass_storage.idProduct=0x37FF "\ - "g_mass_storage.iSerialNumber=\"\" "\ - "\0" \ + CONFIG_MFG_ENV_SETTINGS_DEFAULT \ "initrd_addr=0x83800000\0" \ "initrd_high=0xffffffff\0" \ - "bootcmd_mfg=run mfgtool_args; " \ - "if test ${tee} = yes; then " \ - "bootm ${tee_addr} ${initrd_addr} ${fdt_addr}; " \ - "else " \ - "bootz ${loadaddr} ${initrd_addr} ${fdt_addr}; " \ - "fi;\0" + "emmc_dev=1\0"\ + "sd_dev=1\0" \ #define CONFIG_EXTRA_ENV_SETTINGS \ CONFIG_MFG_ENV_SETTINGS \ |