diff options
author | Ye Li <ye.li@nxp.com> | 2017-03-17 17:54:28 +0800 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2017-04-05 17:24:36 +0800 |
commit | 2e79a95aad75eeb7d225caa77cc31deaaf8d4a29 (patch) | |
tree | 11345fd5ada677a1b548f53db8009e39cb3ce2df | |
parent | ab7ce08ea33342adee44f6a4de86a2c8b8ec993c (diff) | |
download | u-boot-imx-2e79a95aad75eeb7d225caa77cc31deaaf8d4a29.zip u-boot-imx-2e79a95aad75eeb7d225caa77cc31deaaf8d4a29.tar.gz u-boot-imx-2e79a95aad75eeb7d225caa77cc31deaaf8d4a29.tar.bz2 |
MLK-14445-11 mx7ulp_evk: Add mfgtool environment
Add environment variables for mfgtool.
Signed-off-by: Ye Li <ye.li@nxp.com>
-rw-r--r-- | include/configs/mx7ulp_evk.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/configs/mx7ulp_evk.h b/include/configs/mx7ulp_evk.h index 5faa63f..4954df7 100644 --- a/include/configs/mx7ulp_evk.h +++ b/include/configs/mx7ulp_evk.h @@ -107,7 +107,21 @@ #define CONFIG_CMD_MEMTEST #define CONFIG_SYS_MEMTEST_END 0x9E000000 +#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" \ + "initrd_addr=0x63800000\0" \ + "initrd_high=0xffffffff\0" \ + "bootcmd_mfg=run mfgtool_args;bootz ${loadaddr} ${initrd_addr} ${fdt_addr};\0" \ + + #define CONFIG_EXTRA_ENV_SETTINGS \ + CONFIG_MFG_ENV_SETTINGS \ "script=boot.scr\0" \ "image=zImage\0" \ "console=ttyLP0\0" \ |