From 3a0cd48a0d1a9ce6b32ed614cd81fb81f5f82aec Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Thu, 10 Oct 2013 02:18:39 -0700 Subject: [PATCH] tegra124: Call into the mainboard bootblock init if one exists. We should seperate out the mainboard specific parts of the bootblock so that they can be customized as necessary. BUG=None TEST=Built and booted into the bootblock on nyan. BRANCH=None Change-Id: Ia633a68521725f6e88341608ccdbedc4f1ce8223 Signed-off-by: Gabe Black Reviewed-on: https://chromium-review.googlesource.com/172581 Reviewed-by: Ronald Minnich Reviewed-by: Julius Werner Tested-by: Gabe Black Commit-Queue: Gabe Black --- src/soc/nvidia/tegra124/bootblock.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/soc/nvidia/tegra124/bootblock.c b/src/soc/nvidia/tegra124/bootblock.c index 07c9b168e1..cc246c3502 100644 --- a/src/soc/nvidia/tegra124/bootblock.c +++ b/src/soc/nvidia/tegra124/bootblock.c @@ -18,6 +18,7 @@ */ #include +#include #include #include @@ -42,6 +43,8 @@ void main(void) if (CONFIG_BOOTBLOCK_CONSOLE) console_init(); + bootblock_mainboard_init(); + entry = cbfs_load_stage(CBFS_DEFAULT_MEDIA, "fallback/romstage"); hlt();