storm: add hard_reset template
this is required to do early firmware selection using vboot2. actual implementation can be done later. BUG=chrome-os-partner:33755 BRANCH=ToT TEST=Booted storm. Change-Id: Idd1a1de4991a19902ffe45f01be89d47f4413779 Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/229425 Commit-Queue: Vadim Bendebury <vbendeb@chromium.org> Tested-by: Vadim Bendebury <vbendeb@chromium.org>
This commit is contained in:
parent
495704f36a
commit
611c247734
3 changed files with 32 additions and 0 deletions
|
|
@ -25,6 +25,7 @@ config BOARD_SPECIFIC_OPTIONS
|
|||
select BOARD_ROMSIZE_KB_8192
|
||||
select CHROMEOS
|
||||
select COMMON_CBFS_SPI_WRAPPER
|
||||
select HAVE_HARD_RESET
|
||||
select MAINBOARD_HAS_BOOTBLOCK_INIT
|
||||
select SOC_QC_IPQ806X
|
||||
select SPI_FLASH
|
||||
|
|
|
|||
|
|
@ -18,14 +18,19 @@
|
|||
##
|
||||
|
||||
bootblock-y += cdp.c
|
||||
bootblock-y += reset.c
|
||||
|
||||
verstage-y += reset.c
|
||||
|
||||
romstage-y += romstage.c
|
||||
romstage-y += cdp.c
|
||||
romstage-y += reset.c
|
||||
|
||||
ramstage-y += boardid.c
|
||||
ramstage-y += cdp.c
|
||||
ramstage-y += chromeos.c
|
||||
ramstage-y += mainboard.c
|
||||
ramstage-y += reset.c
|
||||
|
||||
bootblock-y += memlayout.ld
|
||||
romstage-y += memlayout.ld
|
||||
|
|
|
|||
26
src/mainboard/google/storm/reset.c
Normal file
26
src/mainboard/google/storm/reset.c
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
/*
|
||||
* 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 <reset.h>
|
||||
|
||||
void hard_reset(void)
|
||||
{
|
||||
while (1)
|
||||
;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue