cbfstool: add an option for creating a topswap bootblock
Add an option '-j' which takes the size of topswap boundary.
This option serves both as a bool and a size for creating
a second bootblock to be used with topswap feature in Intel CPUs.
'-j' is also used in conjunction with add-master-header to
update the location of cbfs master header in the second bootblock.
TEST=add bootblock entry to the image with -j option specifying different
topswap sizes and also use the -j option for add-master-header.
Signed-off-by: Rizwan Qureshi <email@example.com>
Signed-off-by: Aamir Bohra <firstname.lastname@example.org>
Reviewed-by: Subrata Banik <email@example.com>
Reviewed-by: Aaron Durbin <firstname.lastname@example.org>
Reviewed-by: Furquan Shaikh <email@example.com>
Tested-by: build bot (Jenkins) <firstname.lastname@example.org>
1 file changed