summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorYH Lin <yueherngl@google.com>2017-04-18 15:32:55 -0700
committerFurquan Shaikh <furquan@google.com>2017-04-19 19:19:37 +0200
commit22b22b698860165a9bcebe6b691257f3fdedba85 (patch)
tree1402329147cd55f382e7666b19fe7fc292ffea50 /src/mainboard/google
parentffb3b8983dc351ef2768fec6e91aad701e496a86 (diff)
mainboard/google/poppy/variants/soraka: add soraka board
Create Soraka board which derives from Poppy, a KBL reference board. More Soraka specific changes need to be done later on. BRANCH=master BUG=b:36995255 TEST=Build (as initial setup) Change-Id: I8af68d2cf475df56336aa0e3bebe86a54ece1999 Signed-off-by: YH Lin <yueherngl@chromium.org> Reviewed-on: https://review.coreboot.org/19343 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/poppy/Kconfig4
-rw-r--r--src/mainboard/google/poppy/Kconfig.name4
-rw-r--r--src/mainboard/google/poppy/variants/soraka/Makefile.inc8
-rw-r--r--src/mainboard/google/poppy/variants/soraka/include/variant/acpi/dptf.asl16
-rw-r--r--src/mainboard/google/poppy/variants/soraka/include/variant/ec.h21
-rw-r--r--src/mainboard/google/poppy/variants/soraka/include/variant/gpio.h21
6 files changed, 74 insertions, 0 deletions
diff --git a/src/mainboard/google/poppy/Kconfig b/src/mainboard/google/poppy/Kconfig
index 1bdda14907..a334856351 100644
--- a/src/mainboard/google/poppy/Kconfig
+++ b/src/mainboard/google/poppy/Kconfig
@@ -29,6 +29,7 @@ config GBB_HWID
string
depends on CHROMEOS
default "POPPY TEST 8294" if BOARD_GOOGLE_POPPY
+ default "SORAKA TEST 1869" if BOARD_GOOGLE_SORAKA
config INCLUDE_NHLT_BLOBS
bool "Include blobs for audio."
@@ -44,10 +45,12 @@ config MAINBOARD_DIR
config MAINBOARD_FAMILY
string
default "Google_Poppy" if BOARD_GOOGLE_POPPY
+ default "Google_Soraka" if BOARD_GOOGLE_SORAKA
config MAINBOARD_PART_NUMBER
string
default "Poppy" if BOARD_GOOGLE_POPPY
+ default "Soraka" if BOARD_GOOGLE_SORAKA
config MAX_CPUS
int
@@ -66,6 +69,7 @@ config POPPY_USE_SPI_TPM
config VARIANT_DIR
string
default "poppy" if BOARD_GOOGLE_POPPY
+ default "soraka" if BOARD_GOOGLE_SORAKA
config VBOOT
select EC_GOOGLE_CHROMEEC_SWITCHES
diff --git a/src/mainboard/google/poppy/Kconfig.name b/src/mainboard/google/poppy/Kconfig.name
index b579ea8419..e8c6cdcf92 100644
--- a/src/mainboard/google/poppy/Kconfig.name
+++ b/src/mainboard/google/poppy/Kconfig.name
@@ -1,3 +1,7 @@
config BOARD_GOOGLE_POPPY
bool "Poppy"
select BOARD_GOOGLE_BASEBOARD_POPPY
+
+config BOARD_GOOGLE_SORAKA
+ bool "Soraka"
+ select BOARD_GOOGLE_BASEBOARD_POPPY
diff --git a/src/mainboard/google/poppy/variants/soraka/Makefile.inc b/src/mainboard/google/poppy/variants/soraka/Makefile.inc
new file mode 100644
index 0000000000..41e40f7ee7
--- /dev/null
+++ b/src/mainboard/google/poppy/variants/soraka/Makefile.inc
@@ -0,0 +1,8 @@
+
+SPD_SOURCES = empty # 0b0000
+SPD_SOURCES += empty # 0b0001
+SPD_SOURCES += empty # 0b0010
+SPD_SOURCES += micron_dimm_MT52L512M64D4PQ-107 # 0b0011
+SPD_SOURCES += hynix_dimm_H9CCNNNCPTALBR-NUD # 0b0100
+SPD_SOURCES += micron_dimm_MT52L1G64D8QC-107 # 0b0101
+SPD_SOURCES += hynix_dimm_H9CCNNNFAGMLLR-NUD # 0b0110
diff --git a/src/mainboard/google/poppy/variants/soraka/include/variant/acpi/dptf.asl b/src/mainboard/google/poppy/variants/soraka/include/variant/acpi/dptf.asl
new file mode 100644
index 0000000000..a9ec74269f
--- /dev/null
+++ b/src/mainboard/google/poppy/variants/soraka/include/variant/acpi/dptf.asl
@@ -0,0 +1,16 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright 2017 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.
+ */
+
+#include <baseboard/acpi/dptf.asl>
diff --git a/src/mainboard/google/poppy/variants/soraka/include/variant/ec.h b/src/mainboard/google/poppy/variants/soraka/include/variant/ec.h
new file mode 100644
index 0000000000..047abb6b4d
--- /dev/null
+++ b/src/mainboard/google/poppy/variants/soraka/include/variant/ec.h
@@ -0,0 +1,21 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright 2017 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.
+ */
+
+#ifndef __MAINBOARD_EC_H__
+#define __MAINBOARD_EC_H__
+
+#include <baseboard/ec.h>
+
+#endif /* __MAINBOARD_EC_H__ */
diff --git a/src/mainboard/google/poppy/variants/soraka/include/variant/gpio.h b/src/mainboard/google/poppy/variants/soraka/include/variant/gpio.h
new file mode 100644
index 0000000000..4f79495e4f
--- /dev/null
+++ b/src/mainboard/google/poppy/variants/soraka/include/variant/gpio.h
@@ -0,0 +1,21 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright 2017 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.
+ */
+
+#ifndef __MAINBOARD_GPIO_H__
+#define __MAINBOARD_GPIO_H__
+
+#include <baseboard/gpio.h>
+
+#endif /* __MAINBOARD_GPIO_H__ */