coreboot-kgpe-d16/src/mainboard/google/nyan_big
Daisuke Nojiri efddcfbb52 vboot2: separate verstage from bootblock
With CONFIG_RETURN_FROM_VERSTAGE false, the verstage loads the romstage over
the bootblock, then exits to the romstage. this is necessary for some SOC
(e.g. tegra124) which runs the bootblock on a different architecture.

With CONFIG_RETURN_FROM_VERSTAGE true, the verstage returns to the bootblock.
Then, the bootblock loads the romstage over the verstage and exits to the
romstage. this is probably necessary for some SOC (e.g. rockchip) which does not
have SRAM big enough to fit the verstage and the romstage at the same time.

BUG=none
TEST=Built Blaze with USE=+/-vboot2. Ran faft on Blaze.
BRANCH=none
Original-Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Original-Change-Id: I673945c5e21afc800d523fbb25d49fdc83693544
Original-Reviewed-on: https://chromium-review.googlesource.com/212365
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>

Note: This purposefully is probably broken in vendorcode/google/chromeos
as I'm just trying to set a base for dropping more patches in. The vboot
paths will have to change from how they are currently constructed.

(cherry picked from commit 4fa17395113d86445660091413ecb005485f8014)
Signed-off-by: Aaron Durbin <adurbin@chromium.org>

Change-Id: I9117434ce99695f9b7021a06196d864f180df5c9
Reviewed-on: http://review.coreboot.org/8881
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2015-03-24 14:48:04 +01:00
..
bct nyan_big: Update Hynix BCTs and add Kingston 2GB BCT. 2015-01-04 00:14:15 +01:00
board_info.txt Add board_info for all Google/Intel boards mitting the file 2014-10-17 10:12:08 +02:00
boardid.c Generalize revision number calculation function 2015-03-23 17:20:04 +01:00
bootblock.c nyan: big: Set the i2c controller frequencies appropriately. 2014-11-13 06:27:40 +01:00
chromeos.c nyan: Ignore the recovery GPIO. 2015-01-04 00:12:55 +01:00
devicetree.cb nyan*: Add fast link training functions 2014-12-19 23:46:50 +01:00
early_configs.c nyans: reduce code duplication in bootblock and romstages 2015-03-24 14:47:47 +01:00
Kconfig Enable publishing of board ID where supported 2015-03-23 17:20:24 +01:00
mainboard.c nyan*: Set GEN2 I2C pads to open-drain mode 2014-12-31 05:26:51 +01:00
Makefile.inc nyans: reduce code duplication in bootblock and romstages 2015-03-24 14:47:47 +01:00
pmic.c Use a common boardid.h instead of per board copies 2015-03-13 23:01:54 +01:00
pmic.h
reset.c nyan*: I2C: Implement bus clear when 'ARB_LOST' error occurs 2014-12-26 19:39:16 +01:00
reset.h nyan*: I2C: Implement bus clear when 'ARB_LOST' error occurs 2014-12-26 19:39:16 +01:00
romstage.c vboot2: separate verstage from bootblock 2015-03-24 14:48:04 +01:00
sdram_configs.c nyan_big: Update Hynix BCTs and add Kingston 2GB BCT. 2015-01-04 00:14:15 +01:00
sdram_configs.h tegra/nyan*: sdram updates 2014-10-22 03:56:49 +02:00