<p>Nick Vaccaro has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/22401">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">mainboard/google/zoombini/variants/meowth: add new board<br><br>Add Meowth board, which derives from Zoombini, a CNL reference board.<br><br>BUG=b:69011806<br>BRANCH=master<br>TEST=Compiles successfully using "./util/abuild/abuild -p none<br>-t google/zoombini -x -a"<br><br>Change-Id: Ie6ed7ebb4a00a87fc93fc694d74c08a716380a54<br>Signed-off-by: Nick Vaccaro <nvaccaro@google.com><br>---<br>M src/mainboard/google/zoombini/Kconfig<br>M src/mainboard/google/zoombini/Kconfig.name<br>A src/mainboard/google/zoombini/variants/meowth/include/variant/acpi/dptf.asl<br>A src/mainboard/google/zoombini/variants/meowth/include/variant/ec.h<br>A src/mainboard/google/zoombini/variants/meowth/include/variant/gpio.h<br>A src/mainboard/google/zoombini/variants/meowth/spd/Makefile.inc<br>A src/mainboard/google/zoombini/variants/meowth/spd/Samsung_K4F8E304HB_1GB.spd.hex<br>A src/mainboard/google/zoombini/variants/meowth/spd/empty.spd.hex<br>8 files changed, 157 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/01/22401/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/src/mainboard/google/zoombini/Kconfig b/src/mainboard/google/zoombini/Kconfig<br>index f95dba1..d4e6b51 100644<br>--- a/src/mainboard/google/zoombini/Kconfig<br>+++ b/src/mainboard/google/zoombini/Kconfig<br>@@ -35,6 +35,7 @@<br> config GBB_HWID<br>    string<br>        depends on CHROMEOS<br>+  default "MEOWTH TEST 5868" if BOARD_GOOGLE_MEOWTH<br>   default "ZOOMBINI TEST 5722" if BOARD_GOOGLE_ZOOMBINI<br> <br> config MAINBOARD_DIR<br>@@ -43,10 +44,12 @@<br> <br> config MAINBOARD_FAMILY<br>   string<br>+       default "Google_Meowth" if BOARD_GOOGLE_MEOWTH<br>      default "Google_Zoombini" if BOARD_GOOGLE_ZOOMBINI<br> <br> config MAINBOARD_PART_NUMBER<br>        string<br>+       default "Meowth" if BOARD_GOOGLE_MEOWTH<br>     default "Zoombini" if BOARD_GOOGLE_ZOOMBINI<br> <br> config MAINBOARD_VENDOR<br>@@ -55,6 +58,7 @@<br> <br> config VARIANT_DIR<br>         string<br>+       default "meowth" if BOARD_GOOGLE_MEOWTH<br>     default "zoombini" if BOARD_GOOGLE_ZOOMBINI<br> <br> config VBOOT<br>diff --git a/src/mainboard/google/zoombini/Kconfig.name b/src/mainboard/google/zoombini/Kconfig.name<br>index a022531..ef78239 100644<br>--- a/src/mainboard/google/zoombini/Kconfig.name<br>+++ b/src/mainboard/google/zoombini/Kconfig.name<br>@@ -2,3 +2,8 @@<br>     bool "Zoombini"<br>     select BOARD_GOOGLE_BASEBOARD_ZOOMBINI<br>        select BASEBOARD_ZOOMBINI_LAPTOP<br>+<br>+config BOARD_GOOGLE_MEOWTH<br>+     bool "Meowth"<br>+      select BOARD_GOOGLE_BASEBOARD_ZOOMBINI<br>+       select BASEBOARD_ZOOMBINI_LAPTOP<br>diff --git a/src/mainboard/google/zoombini/variants/meowth/include/variant/acpi/dptf.asl b/src/mainboard/google/zoombini/variants/meowth/include/variant/acpi/dptf.asl<br>new file mode 100644<br>index 0000000..a9ec742<br>--- /dev/null<br>+++ b/src/mainboard/google/zoombini/variants/meowth/include/variant/acpi/dptf.asl<br>@@ -0,0 +1,16 @@<br>+/*<br>+ * This file is part of the coreboot project.<br>+ *<br>+ * Copyright 2017 Google Inc.<br>+ *<br>+ * This program is free software; you can redistribute it and/or modify<br>+ * it under the terms of the GNU General Public License as published by<br>+ * the Free Software Foundation; version 2 of the License.<br>+ *<br>+ * This program is distributed in the hope that it will be useful,<br>+ * but WITHOUT ANY WARRANTY; without even the implied warranty of<br>+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br>+ * GNU General Public License for more details.<br>+ */<br>+<br>+#include <baseboard/acpi/dptf.asl><br>diff --git a/src/mainboard/google/zoombini/variants/meowth/include/variant/ec.h b/src/mainboard/google/zoombini/variants/meowth/include/variant/ec.h<br>new file mode 100644<br>index 0000000..047abb6<br>--- /dev/null<br>+++ b/src/mainboard/google/zoombini/variants/meowth/include/variant/ec.h<br>@@ -0,0 +1,21 @@<br>+/*<br>+ * This file is part of the coreboot project.<br>+ *<br>+ * Copyright 2017 Google Inc.<br>+ *<br>+ * This program is free software; you can redistribute it and/or modify<br>+ * it under the terms of the GNU General Public License as published by<br>+ * the Free Software Foundation; version 2 of the License.<br>+ *<br>+ * This program is distributed in the hope that it will be useful,<br>+ * but WITHOUT ANY WARRANTY; without even the implied warranty of<br>+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the<br>+ * GNU General Public License for more details.<br>+ */<br>+<br>+#ifndef __MAINBOARD_EC_H__<br>+#define __MAINBOARD_EC_H__<br>+<br>+#include <baseboard/ec.h><br>+<br>+#endif /* __MAINBOARD_EC_H__ */<br>diff --git a/src/mainboard/google/zoombini/variants/meowth/include/variant/gpio.h b/src/mainboard/google/zoombini/variants/meowth/include/variant/gpio.h<br>new file mode 100644<br>index 0000000..4f79495<br>--- /dev/null<br>+++ b/src/mainboard/google/zoombini/variants/meowth/include/variant/gpio.h<br>@@ -0,0 +1,21 @@<br>+/*<br>+ * This file is part of the coreboot project.<br>+ *<br>+ * Copyright 2017 Google Inc.<br>+ *<br>+ * This program is free software; you can redistribute it and/or modify<br>+ * it under the terms of the GNU General Public License as published by<br>+ * the Free Software Foundation; version 2 of the License.<br>+ *<br>+ * This program is distributed in the hope that it will be useful,<br>+ * but WITHOUT ANY WARRANTY; without even the implied warranty of<br>+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the<br>+ * GNU General Public License for more details.<br>+ */<br>+<br>+#ifndef __MAINBOARD_GPIO_H__<br>+#define __MAINBOARD_GPIO_H__<br>+<br>+#include <baseboard/gpio.h><br>+<br>+#endif /* __MAINBOARD_GPIO_H__ */<br>diff --git a/src/mainboard/google/zoombini/variants/meowth/spd/Makefile.inc b/src/mainboard/google/zoombini/variants/meowth/spd/Makefile.inc<br>new file mode 100644<br>index 0000000..cccb34a<br>--- /dev/null<br>+++ b/src/mainboard/google/zoombini/variants/meowth/spd/Makefile.inc<br>@@ -0,0 +1,26 @@<br>+##<br>+## This file is part of the coreboot project.<br>+##<br>+## Copyright 2017 Google Inc.<br>+## Copyright (C) 2017 Intel Corporation.<br>+##<br>+## This program is free software; you can redistribute it and/or modify<br>+## it under the terms of the GNU General Public License as published by<br>+## the Free Software Foundation; version 2 of the License.<br>+##<br>+## This program is distributed in the hope that it will be useful,<br>+## but WITHOUT ANY WARRANTY; without even the implied warranty of<br>+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the<br>+## GNU General Public License for more details.<br>+##<br>+<br>+SPD_BIN = $(obj)/spd.bin<br>+<br>+SPD_SOURCES = Samsung_K4F8E304HB                    # 0b000<br>+SPD_SOURCES += empty                                          # 1b001<br>+SPD_SOURCES += empty                                          # 2b010<br>+SPD_SOURCES += empty                                          # 3b011<br>+SPD_SOURCES += empty                                          # 4b100<br>+SPD_SOURCES += empty                                          # 5b101<br>+SPD_SOURCES += empty                                          # 6b110<br>+SPD_SOURCES += empty                                          # 7b111<br>diff --git a/src/mainboard/google/zoombini/variants/meowth/spd/Samsung_K4F8E304HB_1GB.spd.hex b/src/mainboard/google/zoombini/variants/meowth/spd/Samsung_K4F8E304HB_1GB.spd.hex<br>new file mode 100644<br>index 0000000..67b46cd<br>--- /dev/null<br>+++ b/src/mainboard/google/zoombini/variants/meowth/spd/Samsung_K4F8E304HB_1GB.spd.hex<br>@@ -0,0 +1,32 @@<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>diff --git a/src/mainboard/google/zoombini/variants/meowth/spd/empty.spd.hex b/src/mainboard/google/zoombini/variants/meowth/spd/empty.spd.hex<br>new file mode 100644<br>index 0000000..67b46cd<br>--- /dev/null<br>+++ b/src/mainboard/google/zoombini/variants/meowth/spd/empty.spd.hex<br>@@ -0,0 +1,32 @@<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br></pre><p>To view, visit <a href="https://review.coreboot.org/22401">change 22401</a>. To unsubscribe, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/22401"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Ie6ed7ebb4a00a87fc93fc694d74c08a716380a54 </div>
<div style="display:none"> Gerrit-Change-Number: 22401 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Nick Vaccaro <nvaccaro@google.com> </div>