diff options
author | Jarried Lin <jarried.lin@mediatek.corp-partner.google.com> | 2023-12-28 12:08:03 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-07-23 13:46:12 +0000 |
commit | 3200976c1e5d7385d51d01a71573a259272a88a3 (patch) | |
tree | 74cc8f347f8f903546f8334a4eadee4ee2bc3001 /src/mainboard/google/rauru/mainboard.c | |
parent | 8cb9641eca5d24048bf9e9a5a4707cae1e26d366 (diff) |
mb/google/rauru: Add MediaTek MT8196 reference board
Add mainboard folder and drivers for new reference board 'Rauru'.
TEST=saw the coreboot uart log to bootblock
BUG=b:317009620
Signed-off-by: Jarried Lin <jarried.lin@mediatek.corp-partner.google.com>
Change-Id: I789b622dcda999635f7aa2ce40adea6db28afa0e
Reviewed-on: https://review.coreboot.org/c/coreboot/+/83573
Reviewed-by: Yidi Lin <yidilin@google.com>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/rauru/mainboard.c')
-rw-r--r-- | src/mainboard/google/rauru/mainboard.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/mainboard/google/rauru/mainboard.c b/src/mainboard/google/rauru/mainboard.c new file mode 100644 index 0000000000..af12d21776 --- /dev/null +++ b/src/mainboard/google/rauru/mainboard.c @@ -0,0 +1,18 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include <device/device.h> + +static void mainboard_init(struct device *dev) +{ + /* TODO: add mainboard init */ +} + +static void mainboard_enable(struct device *dev) +{ + dev->ops->init = &mainboard_init; +} + +struct chip_operations mainboard_ops = { + .name = CONFIG_MAINBOARD_PART_NUMBER, + .enable_dev = mainboard_enable, +}; |