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>
This commit is contained in:
Simon Glass
2019-12-08 17:40:20 -07:00
committed by Bin Meng
parent 2153e8fbfc
commit a1d6dc3f84
11 changed files with 1296 additions and 0 deletions

View File

@@ -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 */