summaryrefslogtreecommitdiff
path: root/src/soc/marvell/mvmap2315/pmic.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/marvell/mvmap2315/pmic.c')
-rw-r--r--src/soc/marvell/mvmap2315/pmic.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/soc/marvell/mvmap2315/pmic.c b/src/soc/marvell/mvmap2315/pmic.c
index f263804795..89ea5ebb60 100644
--- a/src/soc/marvell/mvmap2315/pmic.c
+++ b/src/soc/marvell/mvmap2315/pmic.c
@@ -22,6 +22,7 @@
#include <console/console.h>
#include <soc/apmu.h>
#include <soc/clock.h>
+#include <soc/mcu.h>
#include <soc/pmic.h>
static void syspwr_init(void)
@@ -121,5 +122,11 @@ void mcu_start(void)
u32 get_boot_path(void)
{
- return FULL_BOOT;
+ struct mcu_pwr_status_msg *msg;
+
+ mcu_irq();
+
+ msg = receive_mcu_msg();
+
+ return msg->status;
}