summaryrefslogtreecommitdiff
path: root/src/mainboard/google/octopus/Makefile.inc
diff options
context:
space:
mode:
authorHannah Williams <hannah.williams@intel.com>2018-02-09 18:35:17 -0800
committerMartin Roth <martinroth@google.com>2018-02-15 21:38:50 +0000
commit5e83e8b130a7072fd62b581f260545689dcf73fc (patch)
treed77ecbe5e08392939ae03491c4d738e3c9458966 /src/mainboard/google/octopus/Makefile.inc
parentaf15268c103642f32461d939cc4a9b836ad8db94 (diff)
mb/google/octopus: Add new board
Add octopus board using GLK soc. Copied base code from mainboard/intel/glkrvp. TODO: Fix as per octopus schematic. Change-Id: Ic8c25b3fafbfef31b8b3b802acb3bc53ee7146b6 Signed-off-by: Hannah Williams <hannah.williams@intel.com> Reviewed-on: https://review.coreboot.org/23685 Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/octopus/Makefile.inc')
-rw-r--r--src/mainboard/google/octopus/Makefile.inc18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/mainboard/google/octopus/Makefile.inc b/src/mainboard/google/octopus/Makefile.inc
new file mode 100644
index 0000000000..1a9adbcd8c
--- /dev/null
+++ b/src/mainboard/google/octopus/Makefile.inc
@@ -0,0 +1,18 @@
+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
+
+VARIANT_DIR:=$(call strip_quotes,$(CONFIG_VARIANT_DIR))
+subdirs-y += variants/$(VARIANT_DIR)
+CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/include