summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorJustin TerAvest <teravest@chromium.org>2018-06-14 09:22:22 -0600
committerAaron Durbin <adurbin@chromium.org>2018-06-18 15:35:49 +0000
commit29558af3da11d95d8862018b1e75cb9b8eeba0d4 (patch)
treec3498f21ae5b385229018b07981983fefce93c88 /src/mainboard/google
parenta7835c462eacdcb30aa6a41b2e04d1650995e175 (diff)
downloadcoreboot-29558af3da11d95d8862018b1e75cb9b8eeba0d4.tar.xz
mb/google/octopus: Create fleex variant
This creates a fleex variant for octopus. Nothing is set in the variant files here; everything is picked up from baseboard. BUG=b:110085182 TEST=None Change-Id: Ia8b8bb757f67bea997b7f43489c38cac62f7682d Signed-off-by: Justin TerAvest <teravest@chromium.org> Reviewed-on: https://review.coreboot.org/27105 Reviewed-by: Jett Rink <jettrink@google.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/octopus/Kconfig3
-rw-r--r--src/mainboard/google/octopus/Kconfig.name5
-rw-r--r--src/mainboard/google/octopus/variants/fleex/include/variant/acpi/dptf.asl16
-rw-r--r--src/mainboard/google/octopus/variants/fleex/include/variant/ec.h21
-rw-r--r--src/mainboard/google/octopus/variants/fleex/include/variant/gpio.h21
5 files changed, 66 insertions, 0 deletions
diff --git a/src/mainboard/google/octopus/Kconfig b/src/mainboard/google/octopus/Kconfig
index 94333c5c6b..d768604f44 100644
--- a/src/mainboard/google/octopus/Kconfig
+++ b/src/mainboard/google/octopus/Kconfig
@@ -43,6 +43,7 @@ config VARIANT_DIR
default "yorp" if BOARD_GOOGLE_YORP
default "bip" if BOARD_GOOGLE_BIP
default "phaser" if BOARD_GOOGLE_PHASER
+ default "fleex" if BOARD_GOOGLE_FLEEX
default "octopus" if BOARD_GOOGLE_OCTOPUS
config DEVICETREE
@@ -55,6 +56,7 @@ config MAINBOARD_PART_NUMBER
default "Yorp" if BOARD_GOOGLE_YORP
default "Bip" if BOARD_GOOGLE_BIP
default "Phaser" if BOARD_GOOGLE_PHASER
+ default "Fleex" if BOARD_GOOGLE_FLEEX
default "Octopus" if BOARD_GOOGLE_OCTOPUS
config MAINBOARD_FAMILY
@@ -67,6 +69,7 @@ config GBB_HWID
default "YORP TEST 7755" if BOARD_GOOGLE_YORP
default "BIP TEST 5732" if BOARD_GOOGLE_BIP
default "PHASER TEST 7167" if BOARD_GOOGLE_PHASER
+ default "FLEEX TEST 7423" if BOARD_GOOGLE_FLEEX
default "OCTOPUS TEST 6859" if BOARD_GOOGLE_OCTOPUS
config MAX_CPUS
diff --git a/src/mainboard/google/octopus/Kconfig.name b/src/mainboard/google/octopus/Kconfig.name
index c9eab1a1cc..182ebe4c8e 100644
--- a/src/mainboard/google/octopus/Kconfig.name
+++ b/src/mainboard/google/octopus/Kconfig.name
@@ -19,3 +19,8 @@ config BOARD_GOOGLE_PHASER
select BOARD_GOOGLE_BASEBOARD_OCTOPUS
select BASEBOARD_OCTOPUS_LAPTOP
select NHLT_DA7219 if INCLUDE_NHLT_BLOBS
+config BOARD_GOOGLE_FLEEX
+ bool "-> Fleex"
+ select BOARD_GOOGLE_BASEBOARD_OCTOPUS
+ select BASEBOARD_OCTOPUS_LAPTOP
+ select NHLT_DA7219 if INCLUDE_NHLT_BLOBS
diff --git a/src/mainboard/google/octopus/variants/fleex/include/variant/acpi/dptf.asl b/src/mainboard/google/octopus/variants/fleex/include/variant/acpi/dptf.asl
new file mode 100644
index 0000000000..cc17d560cf
--- /dev/null
+++ b/src/mainboard/google/octopus/variants/fleex/include/variant/acpi/dptf.asl
@@ -0,0 +1,16 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright 2018 Google LLC
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#include <baseboard/acpi/dptf.asl>
diff --git a/src/mainboard/google/octopus/variants/fleex/include/variant/ec.h b/src/mainboard/google/octopus/variants/fleex/include/variant/ec.h
new file mode 100644
index 0000000000..16f931b6cd
--- /dev/null
+++ b/src/mainboard/google/octopus/variants/fleex/include/variant/ec.h
@@ -0,0 +1,21 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright 2018 Google LLC
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#ifndef MAINBOARD_EC_H
+#define MAINBOARD_EC_H
+
+#include <baseboard/ec.h>
+
+#endif
diff --git a/src/mainboard/google/octopus/variants/fleex/include/variant/gpio.h b/src/mainboard/google/octopus/variants/fleex/include/variant/gpio.h
new file mode 100644
index 0000000000..1fd1e11716
--- /dev/null
+++ b/src/mainboard/google/octopus/variants/fleex/include/variant/gpio.h
@@ -0,0 +1,21 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright 2018 Google LLC
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
+ * GNU General Public License for more details.
+ */
+
+#ifndef MAINBOARD_GPIO_H
+#define MAINBOARD_GPIO_H
+
+#include <baseboard/gpio.h>
+
+#endif /* MAINBOARD_GPIO_H */