a4ab665a55
Instead of duplicating code across multiple mainboards, use newly added helper function to read boardid from Chrome EC. Change-Id: I1671c0a0b87d0c4c45da5340e8f17a4a798317ca Signed-off-by: Furquan Shaikh <furquan@chromium.org> Reviewed-on: https://review.coreboot.org/21682 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Sumeet R Pawnikar <sumeet.r.pawnikar@intel.com> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
17 lines
506 B
Makefile
17 lines
506 B
Makefile
bootblock-y += bootblock.c
|
|
bootblock-y += ec.c
|
|
|
|
romstage-$(CONFIG_CHROMEOS) += chromeos.c
|
|
|
|
ramstage-$(CONFIG_CHROMEOS) += chromeos.c
|
|
ramstage-y += ec.c
|
|
ramstage-y += mainboard.c
|
|
|
|
verstage-$(CONFIG_CHROMEOS) += chromeos.c
|
|
smm-$(CONFIG_HAVE_SMI_HANDLER) += smihandler.c
|
|
|
|
subdirs-y += variants/baseboard
|
|
CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/baseboard/include
|
|
|
|
subdirs-y += variants/$(VARIANT_DIR)
|
|
CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/include
|