From 169c62c9443c3b9fcab23b312b5cb18ba79437f4 Mon Sep 17 00:00:00 2001 From: Vadim Bendebury Date: Tue, 28 Oct 2014 18:23:28 -0700 Subject: [PATCH] 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: I8ec328d4f965ff80d17847f2f8ce62b402c42a46 Signed-off-by: Vadim Bendebury Reviewed-on: https://chromium-review.googlesource.com/226179 Reviewed-by: Aaron Durbin --- 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(+) create mode 100644 src/mainboard/google/urara/chromeos.c diff --git a/src/mainboard/google/urara/Kconfig b/src/mainboard/google/urara/Kconfig index 65b2c80a66..fa9d7bb42a 100644 --- a/src/mainboard/google/urara/Kconfig +++ b/src/mainboard/google/urara/Kconfig @@ -24,6 +24,7 @@ if BOARD_GOOGLE_URARA config BOARD_SPECIFIC_OPTIONS def_bool y select BOOTBLOCK_CONSOLE + select 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 5a9dc0216f..00c62e8046 100644 --- a/src/mainboard/google/urara/Makefile.inc +++ b/src/mainboard/google/urara/Makefile.inc @@ -19,6 +19,7 @@ # MA 02110-1301 USA # +ramstage-y += 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 0000000000..cc8c79bfe1 --- /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 +#include +#include + + +void fill_lb_gpios(struct lb_gpios *gpios) +{ + printk(BIOS_ERR, "%s unsupported, but called\n", __func__); +}