summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorSubrata Banik <subrata.banik@intel.com>2016-07-21 23:47:38 +0530
committerAndrey Petrov <andrey.petrov@intel.com>2016-07-28 05:17:03 +0200
commit50b9258a0bbe6cf99606c87a5b9b835ff0689a7d (patch)
treeca83e704fdc3e5b73f0dd6e6655f9531fc110ebc /src/lib
parente4a8537ce20d801a5985ba6268ae83593063a4bf (diff)
downloadcoreboot-50b9258a0bbe6cf99606c87a5b9b835ff0689a7d.tar.xz
skylake/mainboard: Define mainboard hook in bootblock
Move mainboard post console init functionality (google_chrome_ec_init & early_gpio programming) from verstage to bootblock. Add chromeos-ec support in bootblock BUG=chrome-os-partner:55357 BRANCH=none TEST=Built and boot kunimitsu till POST code 0x34 Change-Id: I1b912985a0234d103dcf025b1a88094e639d197d Signed-off-by: Barnali Sarkar <barnali.sarkar@intel.com> Signed-off-by: Rizwan Qureshi <rizwan.qureshi@intel.com> Signed-off-by: Subrata Banik <subrata.banik@intel.com> Reviewed-on: https://review.coreboot.org/15786 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Makefile.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/Makefile.inc b/src/lib/Makefile.inc
index 24116e923c..5f708a6d3c 100644
--- a/src/lib/Makefile.inc
+++ b/src/lib/Makefile.inc
@@ -201,6 +201,7 @@ $(call src-to-obj,smm,$(dir)/fmap.c) : $(obj)/fmap_config.h
$(call src-to-obj,verstage,$(dir)/fmap.c) : $(obj)/fmap_config.h
$(call src-to-obj,postcar,$(dir)/fmap.c) : $(obj)/fmap_config.h
+bootblock-y += bootmode.c
romstage-y += bootmode.c
ramstage-y += bootmode.c
verstage-y += bootmode.c