From 1fa72d5fe1d2ac41036c08355c760fb576899347 Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Thu, 24 Sep 2020 23:33:34 +0200 Subject: x86: Add a minimal example SoC along with a board The min86 example SoC code along with the example mainboard should serve as a minimal example how a buildable x86 SoC code base can look like. This can serve, for instance, as a basis to add new SoCs to coreboot. Starting with a buildable commit should help with the review of the actual code, and also avoid any regressions when common coreboot code changes. As the example code itself is build-tested, it should advance with coreboot and can't rot like documentation might. It also serves as a check what APIs need to be implemented with the default Kconfig settings. Change-Id: Id76ab15fe77ae3e405c43f9c8677694f178be112 Signed-off-by: Nico Huber Reviewed-on: https://review.coreboot.org/c/coreboot/+/45710 Reviewed-by: Tim Wawrzynczak Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- src/soc/example/min86/timer.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/soc/example/min86/timer.c (limited to 'src/soc/example/min86/timer.c') diff --git a/src/soc/example/min86/timer.c b/src/soc/example/min86/timer.c new file mode 100644 index 0000000000..9054ffd972 --- /dev/null +++ b/src/soc/example/min86/timer.c @@ -0,0 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include + +void init_timer(void) +{ +} -- cgit v1.2.3