summaryrefslogtreecommitdiff
path: root/include/configs/imx_env.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/imx_env.h')
-rw-r--r--include/configs/imx_env.h18
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