summaryrefslogtreecommitdiff
path: root/include/configs/theadorable-x86-conga-qa3-e3845.h
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2017-08-08 09:52:14 (GMT)
committerBin Meng <bmeng.cn@gmail.com>2017-08-08 13:13:06 (GMT)
commit489b51da68115fe4679c5f34dd79df9b87350635 (patch)
tree2bdc0195fb97b85aeb752b9905703142578ca986 /include/configs/theadorable-x86-conga-qa3-e3845.h
parent14a937ffb9ff4f7f3eaad229be900c1571a431af (diff)
downloadu-boot-489b51da68115fe4679c5f34dd79df9b87350635.tar.xz
x86: theadorable-x86: Add header file for common defines and env
This patch adds the common header include file theadorable-x86-common.h for the theadorable-x86 targets to define all common options and the default environment. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include/configs/theadorable-x86-conga-qa3-e3845.h')
-rw-r--r--include/configs/theadorable-x86-conga-qa3-e3845.h32
1 files changed, 12 insertions, 20 deletions
diff --git a/include/configs/theadorable-x86-conga-qa3-e3845.h b/include/configs/theadorable-x86-conga-qa3-e3845.h
index 17aee1a..bc0e078 100644
--- a/include/configs/theadorable-x86-conga-qa3-e3845.h
+++ b/include/configs/theadorable-x86-conga-qa3-e3845.h
@@ -13,26 +13,18 @@
#include <configs/x86-common.h>
-#define CONFIG_SYS_MONITOR_LEN (1 << 20)
+/* Set the board specific parameters */
+#define DEF_ENV_TFTPDIR "theadorable-x86-conga"
+#define DEF_ENV_ETH_INIT ""
+#define DEF_ENV_UBUNTU_PART 2
+#define DEF_ENV_UBUNTU_TTY 0 /* Use ttyS0 */
+#define DEF_ENV_YOCTO_PART 3
+#define DEF_ENV_YOCTO_TTY 0 /* Use ttyS0 */
-#define CONFIG_PREBOOT
-
-#define CONFIG_STD_DEVICES_SETTINGS "stdin=serial\0" \
- "stdout=serial\0" \
- "stderr=serial\0"
-
-#define VIDEO_IO_OFFSET 0
-#define CONFIG_X86EMU_RAW_IO
-#define CONFIG_CMD_BMP
-#define CONFIG_BMP_16BPP
-
-/* Environment settings */
-#define CONFIG_SYS_REDUNDAND_ENVIRONMENT
-#undef CONFIG_ENV_SIZE
-#define CONFIG_ENV_SIZE 0x2000
-#define CONFIG_ENV_SECT_SIZE 0x1000
-#define CONFIG_ENV_OFFSET 0x006ec000
-#define CONFIG_ENV_OFFSET_REDUND \
- (CONFIG_ENV_OFFSET + CONFIG_ENV_SIZE)
+/*
+ * Include the theadorable-x86 common options, macros and default
+ * environment
+ */
+#include <configs/theadorable-x86-common.h>
#endif /* __CONFIG_H */