aboutsummaryrefslogtreecommitdiff
path: root/src/soc/marvell/mvmap2315/bootblock.c
diff options
context:
space:
mode:
authorHakim Giydan <hgiydan@marvell.com>2016-09-08 10:59:15 -0700
committerMartin Roth <martinroth@google.com>2016-09-13 16:59:08 +0200
commitf727c7ce38cc58eaf24c55d440e885a1b24a26a1 (patch)
treef03978e1169d8683d45bec9254ede78eff2cda39 /src/soc/marvell/mvmap2315/bootblock.c
parent34c835db307666385374670123477434c99473ec (diff)
soc/marvell/mvmap2315: Add MCU driver
Testing: booted successfully. Change-Id: I003f6929b00476d46be931773cd35418fe6622a6 Signed-off-by: Hakim Giydan <hgiydan@marvell.com> Reviewed-on: https://review.coreboot.org/15529 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/soc/marvell/mvmap2315/bootblock.c')
-rw-r--r--src/soc/marvell/mvmap2315/bootblock.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/soc/marvell/mvmap2315/bootblock.c b/src/soc/marvell/mvmap2315/bootblock.c
index c1de1e7536..6b0a333333 100644
--- a/src/soc/marvell/mvmap2315/bootblock.c
+++ b/src/soc/marvell/mvmap2315/bootblock.c
@@ -28,6 +28,7 @@
#include <soc/bdb.h>
#include <soc/gic.h>
#include <soc/load_validate.h>
+#include <soc/mcu.h>
#include <soc/pmic.h>
#include <soc/uart.h>
@@ -64,6 +65,13 @@ void bootblock_soc_init(void)
boot_path = get_boot_path();
} else {
printk(BIOS_DEBUG, "Low power restart. Skip MCU code load.\n");
+
+ sned_hash_msg(GET_HASH);
+ receive_hash_msg_respond();
+
+ printk(BIOS_DEBUG,
+ "MCU hash validation not currently implemented\n");
+
boot_path = get_boot_path();
}