From dc2d3566ffa9bdf6edbb000c1d66c6bcd1939e9d Mon Sep 17 00:00:00 2001 From: Felix Held Date: Wed, 2 Dec 2020 14:38:53 +0100 Subject: soc/amd/cezanne: add skeleton for new SoC This is based on the minimal example code in soc/example/min86 and was adapted to use the AMD non-CAR boot block and the common AMD PCI MMCONF support. In its current state this won't even reach the boot block, but will pass the build bot. The missing parts for that will be added in future patches. This is an attempt to not go the usual route to create a copy of a previous SoC generation and the make changes to the code to work for the new SoC, but to start from a nearly empty directory and then add the actual code stage by stage and component by component. Change-Id: I70aeb9ae010e943abfa667a0ea95c6fa9f15b7f5 Signed-off-by: Felix Held Reviewed-on: https://review.coreboot.org/c/coreboot/+/48237 Tested-by: build bot (Jenkins) Reviewed-by: Marshall Dawson --- src/soc/amd/cezanne/bootblock.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/soc/amd/cezanne/bootblock.c (limited to 'src/soc/amd/cezanne/bootblock.c') diff --git a/src/soc/amd/cezanne/bootblock.c b/src/soc/amd/cezanne/bootblock.c new file mode 100644 index 0000000000..3fd567720e --- /dev/null +++ b/src/soc/amd/cezanne/bootblock.c @@ -0,0 +1,18 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include +#include +#include + +asmlinkage void bootblock_c_entry(uint64_t base_timestamp) +{ + enable_pci_mmconf(); +} + +void bootblock_soc_early_init(void) +{ +} + +void bootblock_soc_init(void) +{ +} -- cgit v1.2.3