diff options
author | Martin Roth <gaumless@gmail.com> | 2024-04-16 11:39:13 -0600 |
---|---|---|
committer | Felix Singer <service+coreboot-gerrit@felixsinger.de> | 2024-04-26 22:01:31 +0000 |
commit | c96201acb1d16dea90d2f8477f694346e0829dd6 (patch) | |
tree | 9b60b8f7d5fdc11fc2622fc3084242f1f45a7a92 /src/mainboard/framework/azalea/mainboard.c | |
parent | acfdf0d43c502f4346fd614c4c60b6fd345faed7 (diff) |
mb/framework: Push initial port of azalea (Framework 13 AMD 7040)
This is a minimal framework that allows the build to compile.
Signed-off-by: Martin Roth <gaumless@gmail.com>
Change-Id: Ief4b5c75471a2ef5bedaaee9b4737510c2826b6e
Reviewed-on: https://review.coreboot.org/c/coreboot/+/81978
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Diffstat (limited to 'src/mainboard/framework/azalea/mainboard.c')
-rw-r--r-- | src/mainboard/framework/azalea/mainboard.c | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/mainboard/framework/azalea/mainboard.c b/src/mainboard/framework/azalea/mainboard.c new file mode 100644 index 0000000000..77df1af022 --- /dev/null +++ b/src/mainboard/framework/azalea/mainboard.c @@ -0,0 +1,30 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include <amdblocks/amd_pci_util.h> +#include <device/device.h> + +/* + * This controls the device -> IRQ routing. + * + */ +static const struct fch_irq_routing fch_irq_map[] = { +}; + +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) +{ +} + +static void mainboard_enable(struct device *dev) +{ +} + +struct chip_operations mainboard_ops = { + .init = mainboard_init, + .enable_dev = mainboard_enable, +}; |