From 22b22b698860165a9bcebe6b691257f3fdedba85 Mon Sep 17 00:00:00 2001 From: YH Lin Date: Tue, 18 Apr 2017 15:32:55 -0700 Subject: 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 Reviewed-on: https://review.coreboot.org/19343 Reviewed-by: Aaron Durbin Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh --- src/mainboard/google/poppy/Kconfig | 4 ++++ src/mainboard/google/poppy/Kconfig.name | 4 ++++ .../google/poppy/variants/soraka/Makefile.inc | 8 ++++++++ .../variants/soraka/include/variant/acpi/dptf.asl | 16 ++++++++++++++++ .../poppy/variants/soraka/include/variant/ec.h | 21 +++++++++++++++++++++ .../poppy/variants/soraka/include/variant/gpio.h | 21 +++++++++++++++++++++ 6 files changed, 74 insertions(+) create mode 100644 src/mainboard/google/poppy/variants/soraka/Makefile.inc create mode 100644 src/mainboard/google/poppy/variants/soraka/include/variant/acpi/dptf.asl create mode 100644 src/mainboard/google/poppy/variants/soraka/include/variant/ec.h create mode 100644 src/mainboard/google/poppy/variants/soraka/include/variant/gpio.h 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 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 + +#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 + +#endif /* __MAINBOARD_GPIO_H__ */ -- cgit v1.2.3