ifdtool: Add option to specify platform (-p) quirks
Apollo Lake uses yet another descriptor format where only two masters are used: CPU/BIOS and CSE/TXE. CSE stores data in a region number 5 that has not been used previously and CPU must not write it. Add quirk (-p aplk) that locks descriptor according to recommended values. BUG=chrome-os-partner:58974 TEST=ifdtool -p aplk -l bios.bin; ifdtool -d bios.bin.new. Make sure FLMSTR1 and FLMSTR2 are set correctly. unlock with -l and make sure FLMSTRs are restored. Change-Id: I3f33372bef3ff75d0e34030694c79cd07d5540de Signed-off-by: Andrey Petrov <andrey.petrov@intel.com> Reviewed-on: https://review.coreboot.org/17202 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
committed by
Martin Roth
parent
8a3514d0ae
commit
96ecb77905
@@ -21,6 +21,10 @@ enum ifd_version {
|
||||
IFD_VERSION_2,
|
||||
};
|
||||
|
||||
enum platform {
|
||||
PLATFORM_APOLLOLAKE
|
||||
};
|
||||
|
||||
#define LAYOUT_LINELEN 80
|
||||
|
||||
enum spi_frequency {
|
||||
|
Reference in New Issue
Block a user