summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorYilun Lin <yllin@google.com>2019-04-15 18:16:54 +0800
committerchrome-bot <chrome-bot@chromium.org>2019-04-30 06:08:07 -0700
commit3c49473cd607bc5debbbbd22118bad18d11b8611 (patch)
treefd1fa234a159a3436559b8f3a79a81615041bd50 /Makefile.rules
parent631000bdf478b8ad206753f4ffeb2af879129866 (diff)
downloadchrome-ec-3c49473cd607bc5debbbbd22118bad18d11b8611.tar.gz
mt_scp: Generate IPI tables with util gen_ipi_table.
IPI table is board-specific. This CL removes the original IPI table in chip layer, and uses gen_ipi_table to generate the table for each board to reduce the maintenance effort. TEST=make BOARD=kukui_scp, and see build/kukui_scp/ipi_table_gen.inc exists. Push to Kukui, and see SCP boots. TEST=modify IPI_COUNT in board.h and see it generates a new ipi_table_gen.inc BUG=b:130508869 BRANCH=None Change-Id: I0c05319447d15917e8833aa80d61166c4e396370 Signed-off-by: Yilun Lin <yllin@google.com> Reviewed-on: https://chromium-review.googlesource.com/1568890 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.rules')
-rw-r--r--Makefile.rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules
index a45e9ad981..419dd5a9ee 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -121,6 +121,8 @@ cmd_tp_hash = $(out)/util/gen_touchpad_hash \
cmd_emmc_bootblock = $(out)/util/gen_emmc_transfer_data \
$(if $(BOOTBLOCK),-i $(BOOTBLOCK)) -o $@
+cmd_ipi_table = $(out)/util/gen_ipi_table $@
+
# commands for RSA signature: rwsig does not need to sign the whole image
# (it signs the RW part separately). usbpd1 type needs to sign the final image.
ifeq ($(CONFIG_RWSIG_TYPE_RWSIG),)