diff options
author | Rex-BC Chen <rex-bc.chen@mediatek.com> | 2022-07-01 17:37:37 +0800 |
---|---|---|
committer | Hung-Te Lin <hungte@chromium.org> | 2022-07-04 08:36:02 +0000 |
commit | db8442b10a586b6a029e4c45a004e604484c6014 (patch) | |
tree | 495edafeb1a32b8a67104b25ece8d298fe9d2f0a /src/mainboard/google/geralt/chromeos.c | |
parent | 3f83c6ff858b53f0fd9ebb76ebaf9292ee5e222f (diff) |
mb/google/geralt: Add MediaTek MT8188 reference board
Add mainboard folder and drivers for new reference board 'Geralt'.
TEST=saw the coreboot uart log to bootblock
BUG=b:233720142
Signed-off-by: Bo-Chen Chen <rex-bc.chen@mediatek.com>
Change-Id: I5e437d46097369bef535ff64e6a693b7cf67f2f1
Reviewed-on: https://review.coreboot.org/c/coreboot/+/65586
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Yidi Lin <yidilin@chromium.org>
Diffstat (limited to 'src/mainboard/google/geralt/chromeos.c')
-rw-r--r-- | src/mainboard/google/geralt/chromeos.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/mainboard/google/geralt/chromeos.c b/src/mainboard/google/geralt/chromeos.c new file mode 100644 index 0000000000..94f5b4feef --- /dev/null +++ b/src/mainboard/google/geralt/chromeos.c @@ -0,0 +1,15 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include <bootmode.h> +#include <boot/coreboot_tables.h> + +void fill_lb_gpios(struct lb_gpios *gpios) +{ + /* TODO: add Chrome specific gpios */ +} + +int get_recovery_mode_switch(void) +{ + /* TODO: use Chrome EC switches when EC support is added */ + return 0; +} |