summaryrefslogtreecommitdiff
path: root/src/mainboard/google/cyan/gpio.c
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2017-08-20 16:38:42 -0500
committerMartin Roth <martinroth@google.com>2017-08-25 19:01:46 +0000
commit6712b231bca11ea466d18c3565524987fed1199f (patch)
treea99bafe29f860800dd3f3d1819b72f59fe3b6088 /src/mainboard/google/cyan/gpio.c
parent3d4f04f6b1c802c2c2126b6a6cc97fb5b49ec0bd (diff)
downloadcoreboot-6712b231bca11ea466d18c3565524987fed1199f.tar.xz
google/cyan: Remove support for pre-EVT board
Cleaning up code to remove support for pre-EVT rev of cyan board. Analogous to what was done for intel/strago in commit 103f00d. Change-Id: I29b32da8064e0743cc9c5df02ce7d3441459ee8f Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/21123 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/mainboard/google/cyan/gpio.c')
-rw-r--r--src/mainboard/google/cyan/gpio.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/mainboard/google/cyan/gpio.c b/src/mainboard/google/cyan/gpio.c
index a388339118..f35b07e518 100644
--- a/src/mainboard/google/cyan/gpio.c
+++ b/src/mainboard/google/cyan/gpio.c
@@ -17,7 +17,6 @@
#include "irqroute.h"
#include <soc/gpio.h>
#include <stdlib.h>
-#include "gpio.h"
/* South East Community */
static const struct soc_gpio_map gpse_gpio_map[] = {
@@ -249,7 +248,6 @@ static const struct soc_gpio_map gpe_gpio_map[] = {
static struct soc_gpio_config gpio_config = {
/* BSW */
- /* gpio configuration for EVT board */
.north = gpn_gpio_map,
.southeast = gpse_gpio_map,
.southwest = gpsw_gpio_map,
@@ -258,11 +256,5 @@ static struct soc_gpio_config gpio_config = {
struct soc_gpio_config *mainboard_get_gpios(void)
{
- return get_override_gpios(&gpio_config);
-}
-
-__attribute__((weak)) struct soc_gpio_config *get_override_gpios(
- struct soc_gpio_config *config)
-{
- return config;
+ return &gpio_config;
}