[coreboot-gerrit] Change in coreboot[master]: mainboard/google/poppy/variants/soraka: add soraka board
Furquan Shaikh (Code Review)
gerrit at coreboot.org
Wed Apr 19 19:19:41 CEST 2017
Furquan Shaikh has submitted this change and it was merged. ( https://review.coreboot.org/19343 )
Change subject: mainboard/google/poppy/variants/soraka: add soraka board
......................................................................
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 at chromium.org>
Reviewed-on: https://review.coreboot.org/19343
Reviewed-by: Aaron Durbin <adurbin at chromium.org>
Tested-by: build bot (Jenkins)
Reviewed-by: Furquan Shaikh <furquan at google.com>
---
M src/mainboard/google/poppy/Kconfig
M src/mainboard/google/poppy/Kconfig.name
A src/mainboard/google/poppy/variants/soraka/Makefile.inc
A src/mainboard/google/poppy/variants/soraka/include/variant/acpi/dptf.asl
A src/mainboard/google/poppy/variants/soraka/include/variant/ec.h
A src/mainboard/google/poppy/variants/soraka/include/variant/gpio.h
6 files changed, 74 insertions(+), 0 deletions(-)
Approvals:
Aaron Durbin: Looks good to me, approved
build bot (Jenkins): Verified
Furquan Shaikh: Looks good to me, approved
diff --git a/src/mainboard/google/poppy/Kconfig b/src/mainboard/google/poppy/Kconfig
index 1bdda14..a334856 100644
--- a/src/mainboard/google/poppy/Kconfig
+++ b/src/mainboard/google/poppy/Kconfig
@@ -29,6 +29,7 @@
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_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 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 b579ea8..e8c6cdc 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 0000000..41e40f7
--- /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 0000000..a9ec742
--- /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 0000000..047abb6
--- /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 0000000..4f79495
--- /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__ */
--
To view, visit https://review.coreboot.org/19343
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I8af68d2cf475df56336aa0e3bebe86a54ece1999
Gerrit-PatchSet: 6
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: YH Lin <yueherngl at chromium.org>
Gerrit-Reviewer: Aaron Durbin <adurbin at chromium.org>
Gerrit-Reviewer: Furquan Shaikh <furquan at google.com>
Gerrit-Reviewer: Paul Menzel <paulepanter at users.sourceforge.net>
Gerrit-Reviewer: YH Lin <yueherngl at chromium.org>
Gerrit-Reviewer: YH Lin <yueherngl at google.com>
Gerrit-Reviewer: build bot (Jenkins)
More information about the coreboot-gerrit
mailing list