mainboard/google/reef: add nasher variant

Create the initial Nasher variant which refers to the Reef.
Nasher is APL board that derives from reference board Reef.

BRANCH=master
BUG=b:36389286
TEST=Build (as initial setup)
Signed-off-by: YH Lin <yueherngl@chromium.org>

Change-Id: I7962aa8246890149988c7f02dcd90d820df7b901
Reviewed-on: https://review.coreboot.org/18928
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
YH Lin 2017-03-20 15:51:06 -07:00 committed by Martin Roth
parent e8ec53aa49
commit f0637e71c7
5 changed files with 60 additions and 0 deletions

View File

@ -53,6 +53,7 @@ config VARIANT_DIR
default "pyro" if BOARD_GOOGLE_PYRO default "pyro" if BOARD_GOOGLE_PYRO
default "sand" if BOARD_GOOGLE_SAND default "sand" if BOARD_GOOGLE_SAND
default "snappy" if BOARD_GOOGLE_SNAPPY default "snappy" if BOARD_GOOGLE_SNAPPY
default "nasher" if BOARD_GOOGLE_NASHER
config DEVICETREE config DEVICETREE
string string
@ -67,6 +68,7 @@ config MAINBOARD_PART_NUMBER
default "Pyro" if BOARD_GOOGLE_PYRO default "Pyro" if BOARD_GOOGLE_PYRO
default "Sand" if BOARD_GOOGLE_SAND default "Sand" if BOARD_GOOGLE_SAND
default "Snappy" if BOARD_GOOGLE_SNAPPY default "Snappy" if BOARD_GOOGLE_SNAPPY
default "Nasher" if BOARD_GOOGLE_NASHER
config MAINBOARD_FAMILY config MAINBOARD_FAMILY
string string
@ -79,6 +81,7 @@ config GBB_HWID
default "PYRO TEST 0290" if BOARD_GOOGLE_PYRO default "PYRO TEST 0290" if BOARD_GOOGLE_PYRO
default "SAND TEST 1904" if BOARD_GOOGLE_SAND default "SAND TEST 1904" if BOARD_GOOGLE_SAND
default "SNAPPY TEST 1088" if BOARD_GOOGLE_SNAPPY default "SNAPPY TEST 1088" if BOARD_GOOGLE_SNAPPY
default "NASHER TEST 4258" if BOARD_GOOGLE_NASHER
config MAX_CPUS config MAX_CPUS
int int

View File

@ -17,3 +17,8 @@ config BOARD_GOOGLE_SNAPPY
bool "Snappy" bool "Snappy"
select BOARD_GOOGLE_BASEBOARD_REEF select BOARD_GOOGLE_BASEBOARD_REEF
select BASEBOARD_REEF_LAPTOP select BASEBOARD_REEF_LAPTOP
config BOARD_GOOGLE_NASHER
bool "Nasher"
select BOARD_GOOGLE_BASEBOARD_REEF
select BASEBOARD_REEF_LAPTOP

View File

@ -0,0 +1,18 @@
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2014 Google Inc.
* Copyright (C) 2015 Intel Corporation.
*
* 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.
*/
/* Use the one from baseboard for now until the real testing is done. */
#include <baseboard/acpi/dptf.asl>

View File

@ -0,0 +1,17 @@
/*
* This file is part of the coreboot project.
*
* Copyright 2016 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.
*/
/* Use the one from baseboard for now */
#include <baseboard/ec.h>

View File

@ -0,0 +1,17 @@
/*
* This file is part of the coreboot project.
*
* Copyright 2016 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.
*/
/* Use the one from baseboard for now */
#include <baseboard/gpio.h>