spi: Support Macronix MX25U6435F SPI ROM.
Patch from Macronix. BUG=None TEST=Compiled + verified system boot BRANCH=Rambi Signed-off-by: Patrick Ha <patrick@samsung.com> Change-Id: I932b7041f6409ed8a5e65580e9e983908ab2dd3d Reviewed-on: https://chromium-review.googlesource.com/211068 Reviewed-by: Shawn Nematbakhsh <shawnn@chromium.org> Reviewed-by: patrick Ha <patrick@samsung.com> Commit-Queue: patrick Ha <patrick@samsung.com> Tested-by: patrick Ha <patrick@samsung.com> Reviewed-on: https://chromium-review.googlesource.com/211411 Commit-Queue: Shawn Nematbakhsh <shawnn@chromium.org> Tested-by: Shawn Nematbakhsh <shawnn@chromium.org> Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
This commit is contained in:
parent
d635c8b676
commit
a6dd4151b4
1 changed files with 8 additions and 0 deletions
|
|
@ -118,6 +118,14 @@ static const struct macronix_spi_flash_params macronix_spi_flash_table[] = {
|
|||
.nr_blocks = 256,
|
||||
.name = "MX25L12855E",
|
||||
},
|
||||
{
|
||||
.idcode = 0x2537,
|
||||
.page_size = 256,
|
||||
.pages_per_sector = 16,
|
||||
.sectors_per_block = 16,
|
||||
.nr_blocks = 128,
|
||||
.name = "MX25U6435F",
|
||||
},
|
||||
};
|
||||
|
||||
static int macronix_write(struct spi_flash *flash,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue