pinky: Add mainboard-specific bootblock init
This adds a mainboard-specific bootblock function that will be used to set up some board-specific parameters which are currently set up in the SoC bootblock function. BUG=none BRANCH=none TEST=built and booted on Pinky Signed-off-by: David Hendricks <dhendrix@chromium.org> Change-Id: Ibee7076ebd6080f04b0697067e85ce8b6b2230e4 Reviewed-on: https://chromium-review.googlesource.com/220399 Reviewed-by: Julius Werner <jwerner@chromium.org>
This commit is contained in:
parent
58696cc7c7
commit
03e0bb2eac
3 changed files with 26 additions and 0 deletions
|
|
@ -28,6 +28,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
|||
select EC_GOOGLE_CHROMEEC_SPI
|
||||
select SOC_ROCKCHIP_RK3288
|
||||
select MAINBOARD_DO_NATIVE_VGA_INIT
|
||||
select MAINBOARD_HAS_BOOTBLOCK_INIT
|
||||
select HAVE_HARD_RESET
|
||||
select RETURN_FROM_VERSTAGE
|
||||
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@
|
|||
## along with this program; if not, write to the Free Software
|
||||
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
##
|
||||
bootblock-y += bootblock.c
|
||||
bootblock-y += chromeos.c
|
||||
bootblock-y += reset.c
|
||||
|
||||
|
|
|
|||
24
src/mainboard/google/veyron_pinky/bootblock.c
Normal file
24
src/mainboard/google/veyron_pinky/bootblock.c
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* This file is part of the coreboot project.
|
||||
*
|
||||
* Copyright 2014 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.
|
||||
*
|
||||
* 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 <bootblock_common.h>
|
||||
|
||||
void bootblock_mainboard_init(void)
|
||||
{
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue