summaryrefslogtreecommitdiff
path: root/include/configs/chromebook_coral.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-12-09 03:40:20 +0300
committerBin Meng <bmeng.cn@gmail.com>2019-12-15 06:44:30 +0300
commita1d6dc3f84071f05574044f337dbdca70fae495d (patch)
tree62e5e63f118c445232cd3f9089b9b831f8f77e86 /include/configs/chromebook_coral.h
parent2153e8fbfcf88068f47352b7ea16a4ad7f0602bc (diff)
downloadu-boot-a1d6dc3f84071f05574044f337dbdca70fae495d.tar.xz
x86: Add chromebook_coral
Add support for coral which is a range of Apollo Lake-based Chromebook released in 2017. This also includes reef released in 2016, since it is based on the same SoC. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include/configs/chromebook_coral.h')
-rw-r--r--include/configs/chromebook_coral.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/include/configs/chromebook_coral.h b/include/configs/chromebook_coral.h
new file mode 100644
index 0000000000..a63c3c9eea
--- /dev/null
+++ b/include/configs/chromebook_coral.h
@@ -0,0 +1,32 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright 2019 Google LLC
+ */
+
+/*
+ * board/config.h - configuration options, board-specific
+ */
+
+#ifndef __CONFIG_H
+#define __CONFIG_H
+
+#define CONFIG_BOOTCOMMAND \
+ "fatload mmc 1:c 1000000 syslinux/vmlinuz.A; zboot 1000000"
+
+#include <configs/x86-common.h>
+#include <configs/x86-chromebook.h>
+
+#undef CONFIG_STD_DEVICES_SETTINGS
+#define CONFIG_STD_DEVICES_SETTINGS "stdin=usbkbd,i8042-kbd,serial\0" \
+ "stdout=vidconsole,serial\0" \
+ "stderr=vidconsole,serial\0"
+
+#define CONFIG_ENV_SECT_SIZE 0x1000
+#define CONFIG_ENV_OFFSET 0x003f8000
+
+#define CONFIG_TPL_TEXT_BASE 0xffff8000
+
+#define CONFIG_SYS_NS16550_MEM32
+#undef CONFIG_SYS_NS16550_PORT_MAPPED
+
+#endif /* __CONFIG_H */