![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
Go to the source code of this file.
Data Structures | |
struct | mtk_nor_regs |
Enumerations | |
enum | { SFLASH_POLLINGREG_US = 500000 , SFLASH_WRBUF_SIZE = 128 , SFLASHNAME_LENGTH = 16 , SFLASH_WRITE_IN_PROGRESS = 1 , SFLASH_COMMAND_ENABLE = 0x30 , SFLASH_DMA_ALIGN = 0x10 , SFLASH_RD_TRIGGER = 1 << 0 , SFLASH_READSTATUS = 1 << 1 , SFLASH_PRG_CMD = 1 << 2 , SFLASH_WR_TRIGGER = 1 << 4 , SFLASH_WRITESTATUS = 1 << 5 , SFLASH_AUTOINC = 1 << 7 , SFLASH_OP_WREN = 0x6 , SECTOR_ERASE_CMD = 0x20 , SFLASH_UNPROTECTED = 0x0 , SFLASH_DMA_TRIGGER = 1 << 0 , SFLASH_DMA_SW_RESET = 1 << 1 , SFLASH_DMA_WDLE_EN = 1 << 2 , SFLASH_READ_DUAL_EN = 0x1 , SFLASH_1_1_2_READ = 0x3b } |
Functions | |
check_member (mtk_nor_regs, fdma_end_dadr, 0x724) | |
int | mtk_spi_flash_probe (const struct spi_slave *spi, struct spi_flash *flash) |
anonymous enum |
Definition at line 10 of file flash_controller_common.h.
check_member | ( | mtk_nor_regs | , |
fdma_end_dadr | , | ||
0x724 | |||
) |
Definition at line 212 of file flash_controller.c.