|
OpenBIC
OpenSource Bridge-IC
|
#include <stdlib.h>#include <logging/log.h>#include <drivers/flash.h>#include "plat_i2c.h"#include "hal_i2c.h"#include "util_spi.h"#include "hal_gpio.h"#include "libutil.h"
Macros | |
| #define | CPLD_ADDR 0x21 |
| #define | CPLD_SPI_OOB_CONTROL_REG 0x0B |
| #define | CPLD_SPI_OOB_FROM_CPU 0x02 |
| #define | CPLD_SPI_OOB_FROM_BIC 0x0B |
Functions | |
| LOG_MODULE_REGISTER (plat_spi) | |
| int | pal_get_bios_flash_position () |
| bool | pal_switch_bios_spi_mux (int gpio_status) |
| #define CPLD_ADDR 0x21 |
| #define CPLD_SPI_OOB_CONTROL_REG 0x0B |
| #define CPLD_SPI_OOB_FROM_BIC 0x0B |
| #define CPLD_SPI_OOB_FROM_CPU 0x02 |
| LOG_MODULE_REGISTER | ( | plat_spi | ) |
| int pal_get_bios_flash_position | ( | ) |
| bool pal_switch_bios_spi_mux | ( | int | gpio_status | ) |
