util/cbfstool: Allow xip/non-xip relocation for FSP component
commit61c1a05c07be4a7805a0595475cba3b9e8386b77
authorFurquan Shaikh <furquan@google.com>
Mon, 9 May 2016 18:53:34 +0000 (9 11:53 -0700)
committerFurquan Shaikh <furquan@google.com>
Wed, 11 May 2016 16:38:13 +0000 (11 18:38 +0200)
tree889ac16488fb8f058cccffb43e86afae3706c0b0
parent03f50720dfe168f5db9cb0324e4963b68ea99204
util/cbfstool: Allow xip/non-xip relocation for FSP component

Currently, convert_fsp assumes that the component is always XIP. This
is no longer true with FSP 2.0 and Apollolake platform. Thus, add the
option -y|--xip for FSP which will allow the caller to mention whether
the FSP component being added is XIP or not. Add this option to
Makefiles of current FSP drivers (fsp1_0 and fsp1_1).

Change-Id: I1e41d0902bb32afaf116bb457dd9265a5bcd8779
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/14748
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins)
src/drivers/intel/fsp1_0/Makefile.inc
src/drivers/intel/fsp1_1/Makefile.inc
util/cbfstool/cbfstool.c