diff options
author | Hakim Giydan <hgiydan@marvell.com> | 2016-09-08 10:49:24 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-09-13 16:57:42 +0200 |
commit | 53620b85be65f5582791ed670a3ccfa9bdcc86ee (patch) | |
tree | cc78feceb722a962fa57c7bb1aa4ca54931261d7 /src/soc/marvell/mvmap2315/bootblock.c | |
parent | 93e6f1a917b6b17c6e62ad0fff1699416ab00d29 (diff) | |
download | coreboot-53620b85be65f5582791ed670a3ccfa9bdcc86ee.tar.xz |
soc/marvell/mvmap2315: Add APMU driver
APMU is the AP power management unit.
It is a separate processor that handles enabling
individual power rails.
This driver handles sending and receiving commands
from/to APMU.
Testing: booted successfully.
Change-Id: I5ae07849f8432bece8a0ae9066a3f786e6e8d2fe
Signed-off-by: Hakim Giydan <hgiydan@marvell.com>
Reviewed-on: https://review.coreboot.org/15518
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.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/soc/marvell/mvmap2315/bootblock.c b/src/soc/marvell/mvmap2315/bootblock.c index 47bf470abb..8d7b0cbfd9 100644 --- a/src/soc/marvell/mvmap2315/bootblock.c +++ b/src/soc/marvell/mvmap2315/bootblock.c @@ -23,6 +23,7 @@ #include <timestamp.h> #include <console/uart.h> #include <soc/addressmap.h> +#include <soc/apmu.h> #include <soc/bdb.h> #include <soc/gic.h> #include <soc/load_validate.h> @@ -51,6 +52,8 @@ void bootblock_soc_init(void) printk(BIOS_DEBUG, "loading and validating APMU firmware.\n"); load_and_validate(&bdb_info, APMU_FIRMWARE); + apmu_start(); + printk(BIOS_DEBUG, "loading and validating MCU firmware.\n"); load_and_validate(&bdb_info, MCU_FIRMWARE); |