Attention is currently required from: Stefan Reinauer, Rizwan Qureshi, Meera Ravindranath, Sridhar Siricilla, Krishna P Bhat D.

Krishna P Bhat D uploaded patch set #10 to this change.

View Change

util/ifdtool: Add an option to set top swap block size

Add an option '-j' which takes the size of top swap boundary. This
option takes the top swap block size and sets the value in descriptor
when a second bootblock is to be used with top swap feature in Intel CPUs.

BUG=None
BRANCH=None
TEST=Set topswap block size and check the offset to determine it is
correctly set.
Usage: ifdtool -p <platform> -j <top swap block size>
ifdtool -p jsl -j 0x10000
hexdump image-drawcia.bin.new
0000140 0000 c880 8645 0600 0000 0000 0204 0058
ifdtool -p jsl -j 0x20000
hexdump image-drawcia.bin.new
0000140 0010 c880 8645 0600 0000 0000 0204 0058
ifdtool -p jsl -j 0x20000
hexdump image-drawcia.bin.new
0000140 0020 c880 8645 0600 0000 0000 0204 0058
ifdtool -p jsl -j 0x20000
hexdump image-drawcia.bin.new
0000140 0030 c880 8645 0600 0000 0000 0204 0058
ifdtool -p jsl -j 0x100000
hexdump image-drawcia.bin.new
0000140 0040 c880 8645 0600 0000 0000 0204 0058

Change-Id: I291e5f8443f00ae9a11096c13073ad4dea887fe5
Signed-off-by: Krishna Prasad Bhat <krishna.p.bhat.d@intel.com>
---
M util/ifdtool/ifdtool.c
M util/ifdtool/ifdtool.h
2 files changed, 121 insertions(+), 3 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/71/48471/10

To view, visit change 48471. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I291e5f8443f00ae9a11096c13073ad4dea887fe5
Gerrit-Change-Number: 48471
Gerrit-PatchSet: 10
Gerrit-Owner: Krishna P Bhat D <krishna.p.bhat.d@intel.com>
Gerrit-Reviewer: Jamie Ryu <jamie.m.ryu@intel.com>
Gerrit-Reviewer: Rizwan Qureshi <rizwan.qureshi@intel.com>
Gerrit-Reviewer: Sridhar Siricilla <sridhar.siricilla@intel.com>
Gerrit-Reviewer: Stefan Reinauer <stefan.reinauer@coreboot.org>
Gerrit-Reviewer: Sugnan Prabhu S <sugnan.prabhu.s@intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-Attention: Stefan Reinauer <stefan.reinauer@coreboot.org>
Gerrit-Attention: Rizwan Qureshi <rizwan.qureshi@intel.com>
Gerrit-Attention: Meera Ravindranath <meera.ravindranath@intel.com>
Gerrit-Attention: Sridhar Siricilla <sridhar.siricilla@intel.com>
Gerrit-Attention: Krishna P Bhat D <krishna.p.bhat.d@intel.com>
Gerrit-MessageType: newpatchset