diff options
author | Angel Pons <th3fanbus@gmail.com> | 2021-11-25 13:15:07 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-12-03 15:51:02 +0000 |
commit | e81560c6cf1980144dbb5e15c108db36eae97ce9 (patch) | |
tree | 83d575e83d555c83bed39847a559b1e1f49b8c27 /src/mainboard/prodrive/hermes/bootblock.c | |
parent | c1d49b65b87f3ced5521d58a7b4f96dcb685eb1a (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/bootblock.c')
-rw-r--r-- | src/mainboard/prodrive/hermes/bootblock.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainboard/prodrive/hermes/bootblock.c b/src/mainboard/prodrive/hermes/bootblock.c index 40fd0b48a3..9db1fa8306 100644 --- a/src/mainboard/prodrive/hermes/bootblock.c +++ b/src/mainboard/prodrive/hermes/bootblock.c @@ -2,8 +2,9 @@ #include <bootblock_common.h> #include <console/console.h> +#include <gpio.h> #include <soc/gpio.h> -#include <variant/gpio.h> + #include "gpio.h" void bootblock_mainboard_early_init(void) |