summaryrefslogtreecommitdiff
path: root/include/configs/mx6_common.h
diff options
context:
space:
mode:
authorPeter Robinson <pbrobinson@gmail.com>2015-05-22 17:30:50 +0100
committerStefano Babic <sbabic@denx.de>2015-05-26 15:58:56 +0200
commit2d8a07475eaa521f0055fc7c2617723a0364fe27 (patch)
tree19729784d00dddd9c375255eff4f2af87e6f47d0 /include/configs/mx6_common.h
parent8183058188cd2d9424503b68de8606c5900ba74b (diff)
imx6: move generic miscellaneous and overwrite options
Move generic miscellaneous options that are standard across most, if not all, mx6 boards to central mx6_common define to ensure consistent features. Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Diffstat (limited to 'include/configs/mx6_common.h')
-rw-r--r--include/configs/mx6_common.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/configs/mx6_common.h b/include/configs/mx6_common.h
index ffe9bbd67c..07fc3e81c8 100644
--- a/include/configs/mx6_common.h
+++ b/include/configs/mx6_common.h
@@ -62,6 +62,22 @@
#define CONFIG_BOOTDELAY 3
#endif
+/* allow to overwrite serial and ethaddr */
+#define CONFIG_ENV_OVERWRITE
+#define CONFIG_CONS_INDEX 1
+#define CONFIG_BAUDRATE 115200
+
+/* Miscellaneous configurable options */
+#define CONFIG_SYS_NO_FLASH
+#undef CONFIG_CMD_IMLS
+#define CONFIG_SYS_LONGHELP
+#define CONFIG_SYS_HUSH_PARSER
+#define CONFIG_CMDLINE_EDITING
+#define CONFIG_AUTO_COMPLETE
+#define CONFIG_SYS_CBSIZE 512
+#define CONFIG_SYS_MAXARGS 32
+#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
+
/* GPIO */
#define CONFIG_MXC_GPIO
#define CONFIG_CMD_GPIO