summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Li <Frank.li@freescale.com>2013-09-19 10:53:46 -0500
committerFrank Li <Frank.li@freescale.com>2013-09-19 10:55:02 -0500
commit9a213fc342a50f24544a718e2c71e8637c9c2d6f (patch)
treecb2c1f48e429b899c95fbfbf9fa163f7f1307f79
parentcf270b2bff546f322d30d1a283966e5ec83229d8 (diff)
downloadu-boot-imx-9a213fc342a50f24544a718e2c71e8637c9c2d6f.zip
u-boot-imx-9a213fc342a50f24544a718e2c71e8637c9c2d6f.tar.gz
u-boot-imx-9a213fc342a50f24544a718e2c71e8637c9c2d6f.tar.bz2
ENGR00280494 Add g_mass_storage parameter for manufactory tools
Reduce hardcode in kernel. Pass down g_mass_storage paremeters Signed-off-by: Frank Li <Frank.li@freescale.com>
-rw-r--r--include/configs/mx6qsabre_common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/mx6qsabre_common.h b/include/configs/mx6qsabre_common.h
index f3a7dae..5b17560 100644
--- a/include/configs/mx6qsabre_common.h
+++ b/include/configs/mx6qsabre_common.h
@@ -104,6 +104,9 @@
#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=\"\" "\
"enable_wait_mode=off \0"\
"initrd_addr=0x12C00000\0" \
"bootcmd_mfg=run mfgtool_args;bootm ${loadaddr} ${initrd_addr} ${fdt_addr};\0" \