summaryrefslogtreecommitdiff
path: root/src/mainboard/prodrive/hermes/mainboard.c
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-11-25 13:15:07 +0100
committerFelix Held <felix-coreboot@felixheld.de>2021-12-03 15:51:02 +0000
commite81560c6cf1980144dbb5e15c108db36eae97ce9 (patch)
tree83d575e83d555c83bed39847a559b1e1f49b8c27 /src/mainboard/prodrive/hermes/mainboard.c
parentc1d49b65b87f3ced5521d58a7b4f96dcb685eb1a (diff)
mb/prodrive/hermes: Get rid of variant structure
There's no need to use a variant structure here. Only one variant is used, and revision-specific differences are handled at run-time, and it's unlikely that another variant will ever exist. Reorganize the mainboard code to get rid of the variant structure. Change-Id: I1543f5b76975b0e7183fbb759e9bae5c34151d06 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/59671 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/mainboard/prodrive/hermes/mainboard.c')
-rw-r--r--src/mainboard/prodrive/hermes/mainboard.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mainboard/prodrive/hermes/mainboard.c b/src/mainboard/prodrive/hermes/mainboard.c
index 6ae6b89104..1155b96944 100644
--- a/src/mainboard/prodrive/hermes/mainboard.c
+++ b/src/mainboard/prodrive/hermes/mainboard.c
@@ -8,10 +8,14 @@
#include <bootstate.h>
#include <device/device.h>
#include <device/dram/spd.h>
+#include <gpio.h>
+#include <intelblocks/gpio_defs.h>
#include <intelblocks/pmclib.h>
+#include <soc/gpio.h>
#include <types.h>
#include <smbios.h>
-#include "variants/baseboard/include/eeprom.h"
+
+#include "eeprom.h"
#include "gpio.h"
/* FIXME: Example code below */