Adds support for the KB_ERR_CODE command on the Wilco EC. This command is used to drive diagnostic LEDs on the platform after a failed boot. This change also adds the Wilco EC mailbox command support to bootblock and verstage so that those stages can use the KB_ERR_CODE command. BUG=b:124401932 BRANCH=sarien TEST=build coreboot for sarien and arcada platforms Change-Id: I96d17baf57694e4e01c676d80c606f67054cd0c3 Signed-off-by: Keith Short <keithshort@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32776 Reviewed-by: Duncan Laurie <dlaurie@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
10 lines
287 B
Makefile
10 lines
287 B
Makefile
ifeq ($(CONFIG_EC_GOOGLE_WILCO),y)
|
|
|
|
bootblock-y += bootblock.c commands.c mailbox.c
|
|
verstage-y += commands.c mailbox.c
|
|
romstage-y += commands.c mailbox.c romstage.c boardid.c
|
|
ramstage-y += chip.c commands.c mailbox.c boardid.c
|
|
smm-y += commands.c mailbox.c smihandler.c boardid.c
|
|
|
|
endif
|