mb/google/skywalker: Set up SPM in mainboard
Enable SPM booting process in mainboard. BUG=b:379008996 BRANCH=none TEST=build pass, spm init log: [INFO ] CBFS: Found 'spm_firmware.pm' @0x197c0 size 0x2e56 in mcache @0xffffeb20 [DEBUG] read SPI 0x41b7f8 0x2e56: 1793 us, 6615 KB/s, 52.920 Mbps [DEBUG] SPM: binary array size = 0xdd3 [DEBUG] spm_kick_im_to_fetch: ptr = 0x4900001e [DEBUG] mtk_init_mcu: Loaded (and reset) spm_firmware.pm in 39 msecs (14224 bytes) Signed-off-by: Zeroway Lin <zeroway.lin@mediatek.corp-partner.google.com> Change-Id: Ie49cf0aea8bfaf507fff3cb8a8fc550634f83cbd Reviewed-on: https://review.coreboot.org/c/coreboot/+/87760 Reviewed-by: Yu-Ping Wu <yupingso@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yidi Lin <yidilin@google.com>
This commit is contained in:
parent
368eeb7da4
commit
8ab9f56470
1 changed files with 2 additions and 0 deletions
|
|
@ -2,12 +2,14 @@
|
|||
|
||||
#include <device/device.h>
|
||||
#include <soc/dpm_v2.h>
|
||||
#include <soc/spm_common.h>
|
||||
#include <soc/usb.h>
|
||||
|
||||
static void mainboard_init(struct device *dev)
|
||||
{
|
||||
dpm_init();
|
||||
setup_usb_host();
|
||||
spm_init();
|
||||
}
|
||||
|
||||
static void mainboard_enable(struct device *dev)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue