summaryrefslogtreecommitdiff
path: root/src/mainboard/google/fatcat/Makefile.mk
diff options
context:
space:
mode:
authorSubrata Banik <subratabanik@google.com>2024-06-25 00:17:56 +0530
committerFelix Held <felix-coreboot@felixheld.de>2024-06-26 22:30:42 +0000
commit3aea34a9933f7884a2c08b9611f7b3ff9d791b1d (patch)
tree4de5afb69b07e9db7db5ef700a38d8fdded20ff2 /src/mainboard/google/fatcat/Makefile.mk
parentf3aaa0e1539c16a3a26a769110ec1aca458ab410 (diff)
mb/google/fatcat: Add minimal code support for fatcat
This patch adds initial code block required to build google/fatcat board with Intel Meteor Lake Silicon. Later after the initial board power-on is successful, we shall switch to Panther Lake silicon to build the google/fatcat reference design. BUG=b:347669091 TEST=Able to build the google/fatcat and able to hit power-on reset using Intel Meteor Lake SoC platform. Change-Id: Iad78aec51b2f0f240991c9c35842764a60be988e Signed-off-by: Subrata Banik <subratabanik@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/83197 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nick Vaccaro <nvaccaro@google.com>
Diffstat (limited to 'src/mainboard/google/fatcat/Makefile.mk')
-rw-r--r--src/mainboard/google/fatcat/Makefile.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/mainboard/google/fatcat/Makefile.mk b/src/mainboard/google/fatcat/Makefile.mk
new file mode 100644
index 0000000000..11098e2631
--- /dev/null
+++ b/src/mainboard/google/fatcat/Makefile.mk
@@ -0,0 +1,23 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
+bootblock-y += bootblock.c
+
+verstage-$(CONFIG_CHROMEOS) += chromeos.c
+
+romstage-y += romstage.c
+romstage-$(CONFIG_CHROMEOS) += chromeos.c
+
+ramstage-y += mainboard.c
+ramstage-$(CONFIG_CHROMEOS) += chromeos.c
+ramstage-y += ec.c
+
+smm-$(CONFIG_HAVE_SMI_HANDLER) += smihandler.c
+
+BASEBOARD_DIR:=$(call strip_quotes,$(CONFIG_BASEBOARD_DIR))
+
+subdirs-y += variants/baseboard/$(BASEBOARD_DIR)
+subdirs-y += variants/$(VARIANT_DIR)
+
+CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/baseboard/include
+CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/baseboard/$(BASEBOARD_DIR)/include
+CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/include