diff options
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/google/nyan/mainboard.c | 2 | ||||
-rw-r--r-- | src/mainboard/google/nyan_big/mainboard.c | 2 | ||||
-rw-r--r-- | src/mainboard/google/nyan_blaze/mainboard.c | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/src/mainboard/google/nyan/mainboard.c b/src/mainboard/google/nyan/mainboard.c index a25b5fd238..a54f95d22f 100644 --- a/src/mainboard/google/nyan/mainboard.c +++ b/src/mainboard/google/nyan/mainboard.c @@ -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 } diff --git a/src/mainboard/google/nyan_big/mainboard.c b/src/mainboard/google/nyan_big/mainboard.c index 7a55ad4170..4a55e1e3a2 100644 --- a/src/mainboard/google/nyan_big/mainboard.c +++ b/src/mainboard/google/nyan_big/mainboard.c @@ -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 } diff --git a/src/mainboard/google/nyan_blaze/mainboard.c b/src/mainboard/google/nyan_blaze/mainboard.c index 87a17fb9ca..3e6725bd4a 100644 --- a/src/mainboard/google/nyan_blaze/mainboard.c +++ b/src/mainboard/google/nyan_blaze/mainboard.c @@ -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 } |