nyan*: Log boot reason in eventlog
BUG=none BRANCH=nyan TEST=built and booted on Big under various modes, verified that expected boot mode showed up using "mosys eventlog list" Signed-off-by: David Hendricks <dhendrix@chromium.org> Original-Change-Id: I8d98487a2cb910874c8d741008ae59a6c89102e7 Original-Reviewed-on: https://chromium-review.googlesource.com/199691 Original-Commit-Queue: David Hendricks <dhendrix@chromium.org> Original-Tested-by: David Hendricks <dhendrix@chromium.org> Original-Reviewed-by: Julius Werner <jwerner@chromium.org> (cherry picked from commit 9f4b2574c1af23dcdc01706e9a118441f46a0f97) Signed-off-by: Marc Jones <marc.jones@se-eng.com> Change-Id: Ibbf264a1e05323dfddb7cdb270ee6f2d49e83eff Reviewed-on: http://review.coreboot.org/7946 Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Tested-by: build bot (Jenkins)
This commit is contained in:
parent
d0d57a7460
commit
d72d8aa952
|
@ -30,6 +30,7 @@
|
|||
#include <soc/nvidia/tegra124/pmc.h>
|
||||
#include <soc/nvidia/tegra124/spi.h>
|
||||
#include <soc/nvidia/tegra124/usb.h>
|
||||
#include <vendorcode/google/chromeos/chromeos.h>
|
||||
|
||||
static struct clk_rst_ctlr *clk_rst = (void *)TEGRA_CLK_RST_BASE;
|
||||
|
||||
|
@ -244,6 +245,7 @@ static void mainboard_init(device_t dev)
|
|||
setup_ec_spi();
|
||||
#if CONFIG_ELOG
|
||||
elog_init();
|
||||
elog_add_boot_reason();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
#include <soc/nvidia/tegra124/pmc.h>
|
||||
#include <soc/nvidia/tegra124/spi.h>
|
||||
#include <soc/nvidia/tegra124/usb.h>
|
||||
#include <vendorcode/google/chromeos/chromeos.h>
|
||||
|
||||
static struct clk_rst_ctlr *clk_rst = (void *)TEGRA_CLK_RST_BASE;
|
||||
|
||||
|
@ -242,6 +243,7 @@ static void mainboard_init(device_t dev)
|
|||
setup_ec_spi();
|
||||
#if CONFIG_ELOG
|
||||
elog_init();
|
||||
elog_add_boot_reason();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
#include <soc/nvidia/tegra124/pmc.h>
|
||||
#include <soc/nvidia/tegra124/spi.h>
|
||||
#include <soc/nvidia/tegra124/usb.h>
|
||||
#include <vendorcode/google/chromeos/chromeos.h>
|
||||
|
||||
static struct clk_rst_ctlr *clk_rst = (void *)TEGRA_CLK_RST_BASE;
|
||||
|
||||
|
@ -242,6 +243,7 @@ static void mainboard_init(device_t dev)
|
|||
setup_ec_spi();
|
||||
#if CONFIG_ELOG
|
||||
elog_init();
|
||||
elog_add_boot_reason();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue