summaryrefslogtreecommitdiff
path: root/util/ifdtool/ifdtool.h
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2018-03-21 10:42:37 -0700
committerFurquan Shaikh <furquan@google.com>2018-03-22 05:03:58 +0000
commit088b6e8f8bdd96c759a7a10c0db2d56693056a1b (patch)
treefc0691ac5d7a55877f06b562043e34066b776d5b /util/ifdtool/ifdtool.h
parent5044b01697f96c49ff631d5fdee4147eda4488eb (diff)
downloadcoreboot-088b6e8f8bdd96c759a7a10c0db2d56693056a1b.tar.xz
util/ifdtool: Fix region access control for SKL/KBL
The default values used by ifdtool for setting region access control do not match the expected values for SKL/KBL as per the SPI programming guide. This change adds platform "sklkbl" that sets region access control bits differently for SKL/KBL images. BUG=b:76098647 BRANCH=poppy TEST=Verified that the access control bits on KBL images is set correctly. Change-Id: I1328d8006c25be282b3223268d8f1fd0a64e2ed3 Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/25306 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'util/ifdtool/ifdtool.h')
-rw-r--r--util/ifdtool/ifdtool.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/ifdtool/ifdtool.h b/util/ifdtool/ifdtool.h
index cd5af79a0f..ad299a94f8 100644
--- a/util/ifdtool/ifdtool.h
+++ b/util/ifdtool/ifdtool.h
@@ -22,7 +22,8 @@ enum ifd_version {
};
enum platform {
- PLATFORM_APOLLOLAKE
+ PLATFORM_APOLLOLAKE,
+ PLATFORM_SKLKBL,
};
#define LAYOUT_LINELEN 80