diff options
-rw-r--r-- | src/mainboard/google/storm/Kconfig | 1 | ||||
-rw-r--r-- | src/mainboard/google/storm/Makefile.inc | 5 | ||||
-rw-r--r-- | src/mainboard/google/storm/reset.c | 26 |
3 files changed, 32 insertions, 0 deletions
diff --git a/src/mainboard/google/storm/Kconfig b/src/mainboard/google/storm/Kconfig index 5e010fc331..00405e1b9a 100644 --- a/src/mainboard/google/storm/Kconfig +++ b/src/mainboard/google/storm/Kconfig @@ -25,6 +25,7 @@ config BOARD_SPECIFIC_OPTIONS select BOARD_ID_SUPPORT select BOARD_ROMSIZE_KB_4096 select COMMON_CBFS_SPI_WRAPPER + select HAVE_HARD_RESET select MAINBOARD_HAS_BOOTBLOCK_INIT select SPI_FLASH select SPI_FLASH_SPANSION diff --git a/src/mainboard/google/storm/Makefile.inc b/src/mainboard/google/storm/Makefile.inc index 6ee0841dc3..5add3b3e56 100644 --- a/src/mainboard/google/storm/Makefile.inc +++ b/src/mainboard/google/storm/Makefile.inc @@ -18,13 +18,18 @@ ## 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 += mainboard.c +ramstage-y += reset.c bootblock-y += memlayout.ld romstage-y += memlayout.ld diff --git a/src/mainboard/google/storm/reset.c b/src/mainboard/google/storm/reset.c new file mode 100644 index 0000000000..8020fbfbed --- /dev/null +++ b/src/mainboard/google/storm/reset.c @@ -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) + ; +} |