summaryrefslogtreecommitdiff
path: root/src/mainboard/google/reef
diff options
context:
space:
mode:
authorYH Lin <yueherngl@google.com>2017-02-10 08:33:01 -0800
committerFurquan Shaikh <furquan@google.com>2017-02-15 00:17:12 +0100
commitd0966d86d68795b64d3cf54af909339b74be1b6e (patch)
tree70269394ddaf7b0dd565a2129f005bf8835d2790 /src/mainboard/google/reef
parenta4b11e5c90a51dadc9b02ec080c0fb192cac3997 (diff)
downloadcoreboot-d0966d86d68795b64d3cf54af909339b74be1b6e.tar.xz
mainboard/google/reef: add sand variant
Create the initial Sand variant which refers to the Reef. Sand is APL board that derives from reference board Reef. BRANCH=master BUG=chrome-os-partner:62200 TEST=Build (as initial setup) Signed-off-by: YH Lin <yueherngl@chromium.org> Change-Id: Iba8c5653b6176676c759d2b48063f0c0c6cde625 Reviewed-on: https://review.coreboot.org/18324 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/mainboard/google/reef')
-rw-r--r--src/mainboard/google/reef/Kconfig3
-rw-r--r--src/mainboard/google/reef/Kconfig.name5
-rw-r--r--src/mainboard/google/reef/variants/sand/include/variant/acpi/dptf.asl18
-rw-r--r--src/mainboard/google/reef/variants/sand/include/variant/ec.h17
-rw-r--r--src/mainboard/google/reef/variants/sand/include/variant/gpio.h17
5 files changed, 60 insertions, 0 deletions
diff --git a/src/mainboard/google/reef/Kconfig b/src/mainboard/google/reef/Kconfig
index f37b7b4eff..856dd842d4 100644
--- a/src/mainboard/google/reef/Kconfig
+++ b/src/mainboard/google/reef/Kconfig
@@ -64,6 +64,7 @@ config VARIANT_DIR
string
default "reef" if BOARD_GOOGLE_REEF
default "pyro" if BOARD_GOOGLE_PYRO
+ default "sand" if BOARD_GOOGLE_SAND
default "snappy" if BOARD_GOOGLE_SNAPPY
config DEVICETREE
@@ -76,6 +77,7 @@ config MAINBOARD_PART_NUMBER
string
default "Reef" if BOARD_GOOGLE_REEF
default "Pyro" if BOARD_GOOGLE_PYRO
+ default "Sand" if BOARD_GOOGLE_SAND
default "Snappy" if BOARD_GOOGLE_SNAPPY
config MAINBOARD_FAMILY
@@ -87,6 +89,7 @@ config GBB_HWID
depends on CHROMEOS
default "REEF TEST 3240" if BOARD_GOOGLE_REEF
default "PYRO TEST 0290" if BOARD_GOOGLE_PYRO
+ default "SAND TEST 1904" if BOARD_GOOGLE_SAND
default "SNAPPY TEST 1088" if BOARD_GOOGLE_SNAPPY
config MAX_CPUS
diff --git a/src/mainboard/google/reef/Kconfig.name b/src/mainboard/google/reef/Kconfig.name
index 63e6ada321..95e3e55dd0 100644
--- a/src/mainboard/google/reef/Kconfig.name
+++ b/src/mainboard/google/reef/Kconfig.name
@@ -8,6 +8,11 @@ config BOARD_GOOGLE_PYRO
select BOARD_GOOGLE_BASEBOARD_REEF
select BASEBOARD_REEF_LAPTOP
+config BOARD_GOOGLE_SAND
+ bool "Sand"
+ select BOARD_GOOGLE_BASEBOARD_REEF
+ select BASEBOARD_REEF_LAPTOP
+
config BOARD_GOOGLE_SNAPPY
bool "Snappy"
select BOARD_GOOGLE_BASEBOARD_REEF
diff --git a/src/mainboard/google/reef/variants/sand/include/variant/acpi/dptf.asl b/src/mainboard/google/reef/variants/sand/include/variant/acpi/dptf.asl
new file mode 100644
index 0000000000..fe4bf01871
--- /dev/null
+++ b/src/mainboard/google/reef/variants/sand/include/variant/acpi/dptf.asl
@@ -0,0 +1,18 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2014 Google Inc.
+ * Copyright (C) 2015 Intel Corporation.
+ *
+ * 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.
+ */
+
+/* Use the one from baseboard for now until the real testing is done. */
+#include <baseboard/acpi/dptf.asl>
diff --git a/src/mainboard/google/reef/variants/sand/include/variant/ec.h b/src/mainboard/google/reef/variants/sand/include/variant/ec.h
new file mode 100644
index 0000000000..94424e1064
--- /dev/null
+++ b/src/mainboard/google/reef/variants/sand/include/variant/ec.h
@@ -0,0 +1,17 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright 2016 Google Inc.
+ *
+ * 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.
+ */
+
+/* Use the one from baseboard for now */
+#include <baseboard/ec.h>
diff --git a/src/mainboard/google/reef/variants/sand/include/variant/gpio.h b/src/mainboard/google/reef/variants/sand/include/variant/gpio.h
new file mode 100644
index 0000000000..5eeeec94ff
--- /dev/null
+++ b/src/mainboard/google/reef/variants/sand/include/variant/gpio.h
@@ -0,0 +1,17 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright 2016 Google Inc.
+ *
+ * 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.
+ */
+
+/* Use the one from baseboard for now */
+#include <baseboard/gpio.h>