coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
gpio.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-or-later */
2
3
#ifndef VARIANT_GPIO_H
4
#define VARIANT_GPIO_H
5
6
#include <soc/gpe.h>
7
#include <soc/gpio.h>
8
9
/* Flash Write Protect */
10
#define GPIO_PCH_WP GPP_C22
11
12
/* Recovery mode */
13
#define GPIO_REC_MODE GPP_A23
14
15
/* DDR channel enable pin */
16
#define DDR_CHA_EN GPP_H4
17
#define DDR_CHB_EN GPP_H5
18
19
/* Memory configuration board straps */
20
#define GPIO_MEM_CONFIG_0 GPP_F11
21
#define GPIO_MEM_CONFIG_1 GPP_F12
22
#define GPIO_MEM_CONFIG_2 GPP_F13
23
#define GPIO_MEM_CONFIG_3 GPP_F14
24
#define GPIO_MEM_CONFIG_4 GPP_F15
25
26
/* DQ Memory Interleaved */
27
#define MEMORY_INTERLEAVED GPP_E3
28
29
const
struct
pad_config
*
override_gpio_table
(
size_t
*num);
30
const
struct
pad_config
*
override_early_gpio_table
(
size_t
*num);
31
32
#endif
override_early_gpio_table
const struct pad_config * override_early_gpio_table(size_t *num)
override_gpio_table
const struct pad_config * override_gpio_table(size_t *num)
Definition:
gpio.c:124
pad_config
Definition:
gpio.h:75
src
mainboard
google
deltaur
variants
baseboard
include
baseboard
gpio.h
Generated by
1.9.1