![]() |
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.
Data Structures | |
struct | em100_msg_header |
struct | em100_msg |
Macros | |
#define | __CONSOLE_SPI_ENABLE__ |
#define | MAX_MSG_LENGTH 128 |
#define | EM100_DEDICATED_CMD 0x11 |
#define | EM100_UFIFO_CMD 0xC0 |
#define | EM100_MSG_SIGNATURE 0x47364440 |
Enumerations | |
enum | em100_message_types { EM100_MSG_CHECKPOINT_1B = 0x01 , EM100_MSG_CHECKPOINT_2B , EM100_MSG_CHECKPOINT_4B , EM100_MSG_HEX , EM100_MSG_ASCII , EM100_MSG_TIMESTAMP , EM100_MSG_LOOKUP } |
Functions | |
void | spiconsole_init (void) |
void | spiconsole_tx_byte (unsigned char c) |
static void | __spiconsole_init (void) |
static void | __spiconsole_tx_byte (u8 data) |
Variables | |
struct em100_msg_header | __packed |
#define __CONSOLE_SPI_ENABLE__ |
enum em100_message_types |
Definition at line 21 of file spi.h.
Referenced by console_hw_init().
Definition at line 22 of file spi.h.
Referenced by console_interactive_tx_byte().
Definition at line 9 of file spiconsole.c.
References slave, spi_init(), and spi_setup_slave().
Definition at line 25 of file spiconsole.c.
References c, em100_msg::data, EM100_DEDICATED_CMD, EM100_MSG_ASCII, EM100_MSG_SIGNATURE, EM100_UFIFO_CMD, em100_msg::header, MAX_MSG_LENGTH, em100_msg_header::msg_length, NULL, slave, em100_msg_header::spi_command, spi_crop_chunk(), and spi_xfer().