kernel flags: Pass back kernel premable flags in kparams

Kernel preamble flags are set by the signer for passing hints about
the image. Read these flags from the preamble and pass it back to the
caller in kparams structure.

TEST=Compiles and boots to kernel prompt for both CrOS image and bootimg.

Change-Id: I07a8b974dcf3ab5cd93d26a752c989d268c8da99
Signed-off-by: Furquan Shaikh <>
Reviewed-by: Bill Richardson <>
Tested-by: Furquan Shaikh <>
Reviewed-by: Randall Spangler <>
Commit-Queue: Furquan Shaikh <>
4 files changed