diff options
author | Peter Lemenkov <lemenkov@gmail.com> | 2018-10-26 10:11:34 +0200 |
---|---|---|
committer | Patrick Rudolph <siro@das-labor.org> | 2018-10-27 10:05:15 +0000 |
commit | 037ceda63d338c636e696c78e5d35fceb929ffb1 (patch) | |
tree | 355408353318537b5bf8abcecb95521ecfa17c47 /src | |
parent | 296164e0fef7c7437dd13b8ecf8b644c2369c1f6 (diff) | |
download | coreboot-037ceda63d338c636e696c78e5d35fceb929ffb1.tar.xz |
mb/lenovo/*/gpio: Remove ifdef guards
These ifdefs are the remains from the following commits:
* fa1d688a with Change-Id I9909a5b2bdb4b59219db6304fa4332802fe0301c
("sandy/ivy native: dedup romstage.c main()")
* 7dee9745 with Change-Id I88b5ef8e12ac606751952a493f626e1b146e98f7
("mb/lenovo/x201: Link gpio map instead of including a header")
Change-Id: If83189688151f531a05780a87db3409cbacfbeff
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Reviewed-on: https://review.coreboot.org/29283
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/lenovo/t520/variants/t520/gpio.c | 4 | ||||
-rw-r--r-- | src/mainboard/lenovo/x201/gpio.c | 5 | ||||
-rw-r--r-- | src/mainboard/lenovo/x230/gpio.c | 4 |
3 files changed, 0 insertions, 13 deletions
diff --git a/src/mainboard/lenovo/t520/variants/t520/gpio.c b/src/mainboard/lenovo/t520/variants/t520/gpio.c index 54f53cf18b..3a10bd0083 100644 --- a/src/mainboard/lenovo/t520/variants/t520/gpio.c +++ b/src/mainboard/lenovo/t520/variants/t520/gpio.c @@ -13,9 +13,6 @@ * GNU General Public License for more details. */ -#ifndef T520_GPIO_H -#define T520_GPIO_H - #include <southbridge/intel/common/gpio.h> const struct pch_gpio_set1 pch_gpio_set1_mode = { @@ -302,4 +299,3 @@ const struct pch_gpio_map mainboard_gpio_map = { .level = &pch_gpio_set3_level, }, }; -#endif diff --git a/src/mainboard/lenovo/x201/gpio.c b/src/mainboard/lenovo/x201/gpio.c index 95b017c170..0a40ce644e 100644 --- a/src/mainboard/lenovo/x201/gpio.c +++ b/src/mainboard/lenovo/x201/gpio.c @@ -13,9 +13,6 @@ * GNU General Public License for more details. */ -#ifndef LENOVO_X201_GPIO_H -#define LENOVO_X201_GPIO_H - #include <southbridge/intel/common/gpio.h> const struct pch_gpio_set1 pch_gpio_set1_mode = { @@ -397,5 +394,3 @@ const struct pch_gpio_map mainboard_gpio_map = { .level = &pch_gpio_set3_level, }, }; - -#endif diff --git a/src/mainboard/lenovo/x230/gpio.c b/src/mainboard/lenovo/x230/gpio.c index 92b1a97d19..a3e3a750d3 100644 --- a/src/mainboard/lenovo/x230/gpio.c +++ b/src/mainboard/lenovo/x230/gpio.c @@ -14,9 +14,6 @@ * GNU General Public License for more details. */ -#ifndef X230_GPIO_H -#define X230_GPIO_H - #include <southbridge/intel/common/gpio.h> const struct pch_gpio_set1 pch_gpio_set1_mode = { @@ -299,4 +296,3 @@ const struct pch_gpio_map mainboard_gpio_map = { .level = &pch_gpio_set3_level, }, }; -#endif |