diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2020-06-18 19:26:05 +0300 |
---|---|---|
committer | Michał Żygowski <michal.zygowski@3mdeb.com> | 2021-02-01 10:33:44 +0000 |
commit | df84a28ccc5fd1392c09e88880e7ae3d87a45a4e (patch) | |
tree | 594f42c3f74af2521c3f005031657a1c321cc5ae /src/mainboard/pcengines/apu2/gpio_ftns.h | |
parent | b8a82496fe587f6f619a8efb4e091de9ffc63a9e (diff) | |
download | coreboot-df84a28ccc5fd1392c09e88880e7ae3d87a45a4e.tar.gz |
mb/pcengines/apu2: Switch to proper GPIO API
Use the abstractions <gpio.h> provides.
Change-Id: I348ba43a76287be5b24012ae3dfc28ed783da9c7
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/42521
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Diffstat (limited to 'src/mainboard/pcengines/apu2/gpio_ftns.h')
-rw-r--r-- | src/mainboard/pcengines/apu2/gpio_ftns.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mainboard/pcengines/apu2/gpio_ftns.h b/src/mainboard/pcengines/apu2/gpio_ftns.h index d1e76de029..95c744f62b 100644 --- a/src/mainboard/pcengines/apu2/gpio_ftns.h +++ b/src/mainboard/pcengines/apu2/gpio_ftns.h @@ -3,9 +3,6 @@ #ifndef GPIO_FTNS_H #define GPIO_FTNS_H -void configure_gpio(u32 gpio, u8 iomux_ftn, u32 setting); -u8 read_gpio(u32 gpio); -void write_gpio(u32 gpio, u8 value); int get_spd_offset(void); // @@ -28,10 +25,4 @@ int get_spd_offset(void); #define GPIO_68 0x48 // PE4_WDIS (SIMSWAP1 on APU5) #define GPIO_71 0x4D // PROCHOT -#define GPIO_OUTPUT_ENABLE BIT23 -#define GPIO_OUTPUT_VALUE BIT22 -#define GPIO_PULL_DOWN_ENABLE BIT21 -#define GPIO_PULL_UP_ENABLE BIT20 -#define GPIO_PIN_STS BIT16 - #endif /* GPIO_FTNS_H */ |