[coreboot-gerrit] New patch to review for coreboot: 3f567b6 urara: support building with CHROMEOS enabled

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Fri Apr 10 00:01:21 CEST 2015


Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/9466

-gerrit

commit 3f567b6b4cfe28ab7adb0669b0ef25d7c2b3fc2e
Author: Vadim Bendebury <vbendeb at chromium.org>
Date:   Tue Oct 28 18:23:28 2014 -0700

    urara: support building with CHROMEOS enabled
    
    Chrome OS support needs to be enabled on urara. This patch adds a
    placeholder file to keep Chrome OS support code.
    
    BRANCH=none
    BUG=chrome-os-partner:31438
    TEST=none
    
    Change-Id: I0731469934f04bd68914f09db5d64758c5d01545
    Signed-off-by: Stefan Reinauer <reinauer at chromium.org>
    Original-Commit-Id: 169c62c9443c3b9fcab23b312b5cb18ba79437f4
    Original-Change-Id: I8ec328d4f965ff80d17847f2f8ce62b402c42a46
    Original-Signed-off-by: Vadim Bendebury <vbendeb at chromium.org>
    Original-Reviewed-on: https://chromium-review.googlesource.com/226179
    Original-Reviewed-by: Aaron Durbin <adurbin at chromium.org>
---
 src/mainboard/google/urara/Kconfig      |  1 +
 src/mainboard/google/urara/Makefile.inc |  1 +
 src/mainboard/google/urara/chromeos.c   | 28 ++++++++++++++++++++++++++++
 3 files changed, 30 insertions(+)

diff --git a/src/mainboard/google/urara/Kconfig b/src/mainboard/google/urara/Kconfig
index 26add60..1386bc8 100644
--- a/src/mainboard/google/urara/Kconfig
+++ b/src/mainboard/google/urara/Kconfig
@@ -25,6 +25,7 @@ config BOARD_SPECIFIC_OPTIONS
 	def_bool y
 	select BOARD_ROMSIZE_KB_512
 	select BOOTBLOCK_CONSOLE
+	select MAINBOARD_HAS_CHROMEOS
 	select CONFIG_SPI_FLASH_WINBOND
 	select CPU_IMGTEC_PISTACHIO
         select COMMON_CBFS_SPI_WRAPPER
diff --git a/src/mainboard/google/urara/Makefile.inc b/src/mainboard/google/urara/Makefile.inc
index 5a9dc02..2835a4b 100644
--- a/src/mainboard/google/urara/Makefile.inc
+++ b/src/mainboard/google/urara/Makefile.inc
@@ -19,6 +19,7 @@
 # MA 02110-1301 USA
 #
 
+ramstage-$(CONFIG_CHROMEOS) += chromeos.c
 ramstage-y += mainboard.c
 
 bootblock-y += memlayout.ld
diff --git a/src/mainboard/google/urara/chromeos.c b/src/mainboard/google/urara/chromeos.c
new file mode 100644
index 0000000..cc8c79b
--- /dev/null
+++ b/src/mainboard/google/urara/chromeos.c
@@ -0,0 +1,28 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright 2014 Google Technologies
+ *
+ * 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#include <boot/coreboot_tables.h>
+#include <console/console.h>
+#include <gpio.h>
+
+
+void fill_lb_gpios(struct lb_gpios *gpios)
+{
+	printk(BIOS_ERR, "%s unsupported, but called\n", __func__);
+}



More information about the coreboot-gerrit mailing list