diff options
author | Yilun Lin <yllin@google.com> | 2018-05-29 12:39:39 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-07-02 04:34:53 -0700 |
commit | 90e5f21c4e104aa7861875dd4b66f2828a578fbb (patch) | |
tree | e82febd9307f7ce242bb4a57dda04fde80056e57 /Makefile | |
parent | f18fa2977539fd3460d808637503d8fcb6d0b594 (diff) | |
download | chrome-ec-90e5f21c4e104aa7861875dd4b66f2828a578fbb.tar.gz |
common/bootblock: Pack bootblock in EC image.
Packs a bootblock into EC image. The bootblock content will be firstly
tranlated to eMMC emulated data, and then been packed to the RO image.
Getting idear from: CL:1039105(which generates eMMC data as a header file).
BRANCH=none
BUG=b:80159522
TEST=BOOTBLOCK=xyz make BOARD=kukui -j
BOOTBLOCK=xyz make BOARD=kukui -j # check it doesn't repack.
BOOTBLOCK=abc make BOARD=kukui -j # check it repacks the bootblock.
Change-Id: Ia1564d6c54aed7a91fc42210d6247bdecfd82f4e
Signed-off-by: Yilun Lin <yllin@google.com>
Reviewed-on: https://chromium-review.googlesource.com/1075907
Commit-Ready: Yilun Lin <yllin@chromium.org>
Tested-by: Yilun Lin <yllin@chromium.org>
Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -36,6 +36,10 @@ config=$(out)/.config # If no key file is provided, use the default dev key PEM ?= $(BDIR)/dev_key.pem +# If CONFIG_BOOTBLOCK is set, includes AP-FW bootblock in the EC image. +# If no bootblock is provided, just pack an empty file. +BOOTBLOCK ?= + # If CONFIG_TOUCHPAD_HASH_FW is set, include hashes of a touchpad firmware in # the EC image (if no touchpad firmware is provided, just output blank hashes). TOUCHPAD_FW ?= |