From a859057db8d2eaf59a7575e303d7af35979d12d7 Mon Sep 17 00:00:00 2001 From: Jon Murphy Date: Thu, 23 Feb 2023 13:42:52 -0700 Subject: mb/google/myst: Add new mainboard Myst is a new Google mainboard with an AMD Phoenix SOC. BUG=b:270596106 TEST=util/abuild/abuild -t GOOGLE_MYST --clean Signed-off-by: Jon Murphy Change-Id: Id7d731ce4d6cb6d4e9041f46eb5a799865bb0b9a Reviewed-on: https://review.coreboot.org/c/coreboot/+/74093 Reviewed-by: Eric Lai Tested-by: build bot (Jenkins) Reviewed-by: Fred Reitberger --- src/mainboard/google/myst/mainboard.c | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/mainboard/google/myst/mainboard.c (limited to 'src/mainboard/google/myst/mainboard.c') diff --git a/src/mainboard/google/myst/mainboard.c b/src/mainboard/google/myst/mainboard.c new file mode 100644 index 0000000000..09118d4186 --- /dev/null +++ b/src/mainboard/google/myst/mainboard.c @@ -0,0 +1,30 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#include +#include +#include + +static const struct fch_irq_routing fch_irq_map[] = { + { 0, 0x00, 0x00 }, +}; + +const struct fch_irq_routing *mb_get_fch_irq_mapping(size_t *length) +{ + *length = ARRAY_SIZE(fch_irq_map); + return fch_irq_map; +} + +static void mainboard_init(void *chip_info) +{ + /* TODO(b/270596581): Perform mainboard initialization */ +} + +static void mainboard_enable(struct device *dev) +{ + /* TODO(b/270618107): Enable mainboard */ +} + +struct chip_operations mainboard_ops = { + .init = mainboard_init, + .enable_dev = mainboard_enable, +}; -- cgit v1.2.3