coreboot-kgpe-d16/src
Patrick Rudolph fb444b0d20 mb/opencellular/elgon: Enable write protection
* Verify the flash write protection on each boot
* Program non-volatile write protection on first boot

Tested using I715791b8ae5d1db1ef587321ae5c9daa10eb7dbc.

The bootblock is write-protected as long as the #WP pin is asserted low:
* Reprogramming of the status register fails.
* Trying to write to WP_RO region fails.

Programming the WP_RO is only possible if #WP pin is high.

Change-Id: I6a940c69ecb1dfd9704b2101c263570bebc5540e
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/c/29532
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
2018-12-04 07:11:56 +00:00
..
acpi
arch arch/power8: Rename to ppc64 2018-11-30 20:02:17 +00:00
commonlib src: Remove duplicated round up function 2018-11-29 12:17:45 +00:00
console (console,drivers/uart)/Kconfig: Fix dependencies 2018-11-21 22:49:48 +00:00
cpu cpu/intel/fsp_model_406dx: Drop dead microcode reference 2018-12-03 13:40:46 +00:00
device arch/power8: Rename to ppc64 2018-11-30 20:02:17 +00:00
drivers drivers/spi/winbond: Fix TB bit 2018-12-04 07:11:45 +00:00
ec cpu/intel/model_206{5,a}x: Rework acpi/cpu.asl 2018-11-30 21:52:10 +00:00
include include/device/smbus.h: Don't use device_t 2018-12-03 13:01:15 +00:00
lib src: Remove duplicated round up function 2018-11-29 12:17:45 +00:00
mainboard mb/opencellular/elgon: Enable write protection 2018-12-04 07:11:56 +00:00
northbridge nb/intel/gm45: Make fetching the blc_pwm freq global 2018-12-03 13:03:13 +00:00
security tss: implement tlcl_save_state 2018-11-28 18:32:59 +00:00
soc soc/intel/apl: Enable graphics with libgfxinit 2018-12-03 14:47:50 +00:00
southbridge sb/intel/i82801jx: Fix the x_pm2_cnt_blk addrl 2018-12-03 13:27:37 +00:00
superio src: Add required space after "switch" 2018-11-19 08:17:06 +00:00
vendorcode vendorcode/cavium: Supply bdk_pop and bdk_dpop definitions 2018-11-28 11:47:59 +00:00
Kconfig cpu/x86/Kconfig.debug: Move more options here 2018-11-23 08:38:31 +00:00