coreboot-kgpe-d16/src
Scott Radcliffe f5fcedfbc4 drivers/spi: Add support for Micron N25Q128
Support added for Micron N25Q128 SPI flash, which has
the same manufacturer id as ST Micro. Jedec ID =
0x20 0xBB 0x18. Since existing stmicro.c only compares
the last device id byte, this flash is mistakenly
identified as M25P128, which has ID = 0x20 0x20 0x18.

To handle this situation and avoid breaking code for
existing devices, a two byte .id member is added.
New devices should be added to the beginning of the
flash table array with .idcode = STM_ID_USE_ALT_ID and
.id = the two byte jedec device id.

A 4KB subsector erase capability is added and used for
this new device. It requires using a different SPI
op-code supported by adding .op_erase member. Previous
devices defined in stmicro.c are assigned their original
op-code for 64KB sector erase.

N25Q128 is now working on a custom designed Bayley Bay
based board. Tested by verifying the MRC fastboot cache
is successfully (re)written. Note that previous devices
were not retested.

Change-Id: Ic63d86958bf8d301898a157b435f549a0dd9893c
Signed-off-by: Scott Radcliffe <sradcliffe@microind.com>
Reviewed-on: http://review.coreboot.org/7077
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins)
2014-10-17 11:27:07 +02:00
..
arch acpi_add_ssdt_pstates: Remove function. 2014-10-17 10:04:12 +02:00
console cbmem console: Locate the preram console with a symbol instead of a section. 2014-10-07 23:41:28 +02:00
cpu uarts: 32/64 cleanup 2014-10-16 17:41:14 +02:00
device Remove stale char[] initialization causing unaligned memory access 2014-09-29 19:26:49 +02:00
drivers drivers/spi: Add support for Micron N25Q128 2014-10-17 11:27:07 +02:00
ec google/chromeec: Notify DPTF charger participant on AC state change 2014-09-29 17:28:25 +02:00
include acpi_add_ssdt_pstates: Remove function. 2014-10-17 10:04:12 +02:00
lib lib/cbfs: more cleanup for 32/64 issues 2014-10-16 17:40:38 +02:00
mainboard bd82x6x: Consolidate early native USB init 2014-10-17 11:05:47 +02:00
northbridge acpi_add_ssdt_pstates: Remove function. 2014-10-17 10:04:12 +02:00
soc uarts: 32/64 cleanup 2014-10-16 17:41:14 +02:00
southbridge bd82x6x: Consolidate early native USB init 2014-10-17 11:05:47 +02:00
superio pnp: Allow setting of misc register 0xf4 in device tree 2014-09-17 17:34:16 +02:00
vendorcode AGESA stub 00730F01: Add config.h and kconfig.h to Makefile.inc 2014-10-09 20:06:56 +02:00
Kconfig smbios: Mark laptops as such 2014-10-16 17:42:25 +02:00