diff options
author | Frank Li <Frank.Li@nxp.com> | 2018-07-13 14:38:29 -0500 |
---|---|---|
committer | Frank Li <Frank.Li@nxp.com> | 2018-07-16 10:16:41 -0500 |
commit | 5ac19de9c58792522da1c41504d268ff6db8bc13 (patch) | |
tree | 92705e859e0f4ba37ccf9db13a36c34e4b604423 /include/configs/imx_env.h | |
parent | 1ae19858dd1aa2e469895127b53a0cb54883a24f (diff) |
MLK-18906-1 create shared common config file imx_env.h
Move common mfgtools config into this config files.
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Diffstat (limited to 'include/configs/imx_env.h')
-rw-r--r-- | include/configs/imx_env.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/configs/imx_env.h b/include/configs/imx_env.h new file mode 100644 index 0000000000..f0f5e8fa3f --- /dev/null +++ b/include/configs/imx_env.h @@ -0,0 +1,18 @@ +/* Copyright 2018 NXP + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#ifndef __IMX_COMMON_CONFIG_H +#define __IMX_COMMON_CONFIG_H + +#define CONFIG_MFG_ENV_SETTINGS_DEFAULT \ + "mfgtool_args=setenv bootargs console=${console},${baudrate} " \ + "rdinit=/linuxrc " \ + "clk_ignore_unused "\ + "\0" \ + "bootcmd_mfg=run mfgtool_args; if iminfo ${initrd_addr}; then "\ + "booti ${loadaddr} ${initrd_addr} ${fdt_addr};"\ + "else echo \"Run fastboot ...\"; fastboot 0; fi\0" \ + +#endif |