summaryrefslogtreecommitdiff
path: root/src/mainboard/prodrive/hermes/mainboard.c
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-11-25 13:34:11 +0100
committerFelix Held <felix-coreboot@felixheld.de>2021-12-03 15:51:22 +0000
commit0b697a247331168c35593d0741e4d0fd09a463f6 (patch)
tree9cdf7b87ab3220eeb49cd2a9716ae94b82d7c427 /src/mainboard/prodrive/hermes/mainboard.c
parente81560c6cf1980144dbb5e15c108db36eae97ce9 (diff)
mb/prodrive/hermes: Clean up some cosmetics
Use lowercase for hex numbers, sort includes alphabetically and avoid relying on indirect inclusion. Include `<intelblocks/gpio.h>` instead of `<intelblocks/gpio_defs.h>`, as the latter implcitly relies on one definition from `<soc/gpio.h>`. Also drop useless dsdt.asl and fix up the indentation of some includes. Tested with BUILD_TIMELESS=1, Prodrive Hermes remains identical. Change-Id: I3aeb9a644cf33cb4b1987174f40ef0fc7daccfa9 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/59672 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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mainboard/prodrive/hermes/mainboard.c b/src/mainboard/prodrive/hermes/mainboard.c
index 1155b96944..81ed641078 100644
--- a/src/mainboard/prodrive/hermes/mainboard.c
+++ b/src/mainboard/prodrive/hermes/mainboard.c
@@ -1,19 +1,19 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <arch/cpu.h>
#include <acpi/acpigen.h>
+#include <arch/cpu.h>
+#include <bootstate.h>
#include <cbmem.h>
#include <console/console.h>
#include <crc_byte.h>
-#include <bootstate.h>
#include <device/device.h>
#include <device/dram/spd.h>
#include <gpio.h>
-#include <intelblocks/gpio_defs.h>
+#include <intelblocks/gpio.h>
#include <intelblocks/pmclib.h>
+#include <smbios.h>
#include <soc/gpio.h>
#include <types.h>
-#include <smbios.h>
#include "eeprom.h"
#include "gpio.h"