![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <soc/spi_common.h>
Go to the source code of this file.
Macros | |
#define | SPI_BUS_NUMBER 6 |
#define | GET_SCK_REG(x) x->spi_cfg2_reg |
Enumerations | |
enum | { SPI_NOR_GPIO_SET0 = 0 , SPI_NOR_GPIO_SET1 , SPI_NOR_GPIO_SET_NUM } |
Functions | |
void | mtk_snfc_init (int gpio_set) |
anonymous enum |
void mtk_snfc_init | ( | int | gpio_set | ) |
Definition at line 141 of file spi.c.
References ARRAY_SIZE, assert, BIOS_DEBUG, BIOS_WARNING, pad_func::func, GPIO_DRV_8_MA, gpio_get_driving(), GPIO_PULL_ENABLE, gpio_set(), gpio_set_driving(), gpio_set_mode(), gpio_set_pull(), nor_pinmux, NULL, printk, pad_func::select, and SPI_NOR_GPIO_SET_NUM.
Referenced by bootblock_mainboard_init().