coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <spi-generic.h>
Go to the source code of this file.
Functions | |
int | mtk_spi_flash_probe (const struct spi_slave *spi, struct spi_flash *flash) |
Definition at line 212 of file flash_controller.c.
References spi_flash::erase_cmd, memcpy(), mtk_nor, spi_flash::ops, SECTOR_ERASE_CMD, spi_flash::sector_size, SFLASH_COMMAND_ENABLE, spi_flash::size, spi_flash::spi, spi_flash_ops, write32(), and mtk_nor_regs::wrprot.