mb/google/skywalker: Initialize DPM in ramstage
Add initialization of DPM driver for DRAM low power mode. BUG=b:379008996 BRANCH=none TEST=Boot up pass and see log 3200 LPDDR5 chan0(x16) rank0: memory test pass 3200 LPDDR5 chan0(x16) rank1: memory test pass 3200 LPDDR5 chan1(x16) rank0: memory test pass 3200 LPDDR5 chan1(x16) rank1: memory test pass Signed-off-by: Mike Lin <mike.lin@mediatek.corp-partner.google.com> Change-Id: I3b72b892d56623e7f3ec2dccfad073a908b51119 Reviewed-on: https://review.coreboot.org/c/coreboot/+/87663 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
3f8702a0d6
commit
61f043de4a
1 changed files with 2 additions and 0 deletions
|
|
@ -1,10 +1,12 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only OR MIT */
|
||||
|
||||
#include <device/device.h>
|
||||
#include <soc/dpm_v2.h>
|
||||
#include <soc/usb.h>
|
||||
|
||||
static void mainboard_init(struct device *dev)
|
||||
{
|
||||
dpm_init();
|
||||
setup_usb_host();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue