![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <stdint.h>
Go to the source code of this file.
Macros | |
#define | GPIO_10 10 |
#define | GPIO_11 11 |
#define | GPIO_15 15 |
#define | GPIO_16 16 |
#define | GPIO_17 17 |
#define | GPIO_18 18 |
#define | GPIO_187 187 |
#define | GPIO_189 189 |
#define | GPIO_190 190 |
#define | GPIO_191 191 |
#define | GPIO_FTN_1 0x01 |
#define | GPIO_OUTPUT 0x08 |
#define | GPIO_INPUT 0x28 |
#define | GPIO_DATA_IN 0x80 |
#define | GPIO_DATA_LOW 0x00 |
#define | GPIO_DATA_HIGH 0x40 |
Functions | |
void | configure_gpio (u8 gpio, u8 iomux_ftn, u8 setting) |
u8 | read_gpio (u8 gpio) |
int | get_spd_offset (void) |
#define GPIO_10 10 |
Definition at line 12 of file gpio_ftns.h.
#define GPIO_11 11 |
Definition at line 13 of file gpio_ftns.h.
#define GPIO_15 15 |
Definition at line 14 of file gpio_ftns.h.
#define GPIO_16 16 |
Definition at line 15 of file gpio_ftns.h.
#define GPIO_17 17 |
Definition at line 16 of file gpio_ftns.h.
#define GPIO_18 18 |
Definition at line 17 of file gpio_ftns.h.
#define GPIO_187 187 |
Definition at line 18 of file gpio_ftns.h.
#define GPIO_189 189 |
Definition at line 19 of file gpio_ftns.h.
#define GPIO_190 190 |
Definition at line 20 of file gpio_ftns.h.
#define GPIO_191 191 |
Definition at line 21 of file gpio_ftns.h.
#define GPIO_DATA_HIGH 0x40 |
Definition at line 27 of file gpio_ftns.h.
#define GPIO_DATA_IN 0x80 |
Definition at line 25 of file gpio_ftns.h.
#define GPIO_DATA_LOW 0x00 |
Definition at line 26 of file gpio_ftns.h.
#define GPIO_FTN_1 0x01 |
Definition at line 22 of file gpio_ftns.h.
#define GPIO_INPUT 0x28 |
Definition at line 24 of file gpio_ftns.h.
#define GPIO_OUTPUT 0x08 |
Definition at line 23 of file gpio_ftns.h.
Definition at line 8 of file gpio_ftns.c.
References gpio_100_read8(), gpio_100_write8(), and iomux_write8().
Referenced by early_lpc_init(), and mainboard_final().
int get_spd_offset | ( | void | ) |
Definition at line 25 of file gpio_ftns.c.
Definition at line 20 of file gpio_ftns.c.
References gpio_100_read8(), and GPIO_DATA_IN.
Referenced by get_spd_offset().