summaryrefslogtreecommitdiff
path: root/src/mainboard/google/beltino/variants/mccloud
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-07-03 13:45:13 +0200
committerAngel Pons <th3fanbus@gmail.com>2020-07-09 16:25:08 +0000
commit91aae2e0bc074a3dba475f6fab8612d1a8842e57 (patch)
tree79f46d51622235a5b64ee1f48cd51ede5af419ef /src/mainboard/google/beltino/variants/mccloud
parent9b29e5e1a01ac2da26e4deb420fd036a7d78060d (diff)
mb/google/beltino: Put GPIOs in a C file
This will allow dropping the pointer inside romstage_params. Change-Id: I536225351a0353298381c16cff25f39098c19bba Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43101 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tristan Corrick <tristan@corrick.kiwi>
Diffstat (limited to 'src/mainboard/google/beltino/variants/mccloud')
-rw-r--r--src/mainboard/google/beltino/variants/mccloud/gpio.c (renamed from src/mainboard/google/beltino/variants/mccloud/include/variant/gpio.h)5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mainboard/google/beltino/variants/mccloud/include/variant/gpio.h b/src/mainboard/google/beltino/variants/mccloud/gpio.c
index 92a30e8639..91e808dd41 100644
--- a/src/mainboard/google/beltino/variants/mccloud/include/variant/gpio.h
+++ b/src/mainboard/google/beltino/variants/mccloud/gpio.c
@@ -1,8 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#ifndef MCCLOUD_GPIO_H
-#define MCCLOUD_GPIO_H
-
#include <southbridge/intel/lynxpoint/lp_gpio.h>
const struct pch_lp_gpio_map mainboard_gpio_map[] = {
@@ -103,5 +100,3 @@ const struct pch_lp_gpio_map mainboard_gpio_map[] = {
LP_GPIO_UNUSED, /* 94: UNUSED */
LP_GPIO_END
};
-
-#endif