projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c671ef
)
MLK-17236 imx8qm_mek: Enable base board power
author
Ye Li
<ye.li@nxp.com>
Mon, 18 Dec 2017 09:05:41 +0000
(
03:05
-0600)
committer
Ye Li
<ye.li@nxp.com>
Mon, 18 Dec 2017 09:34:46 +0000
(
03:34
-0600)
Since SCFW switches off the base board at default, we need to turn on it
in u-boot, so that perpherals on base board can work.
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
board/freescale/imx8qm_mek/imx8qm_mek.c
patch
|
blob
|
history
diff --git
a/board/freescale/imx8qm_mek/imx8qm_mek.c
b/board/freescale/imx8qm_mek/imx8qm_mek.c
index
d4d08ea
..
a51827b
100644
(file)
--- a/
board/freescale/imx8qm_mek/imx8qm_mek.c
+++ b/
board/freescale/imx8qm_mek/imx8qm_mek.c
@@
-367,6
+367,10
@@
int board_usb_cleanup(int index, enum usb_init_type init)
int board_init(void)
{
+ /* Power up base board */
+ sc_pm_set_resource_power_mode(gd->arch.ipc_channel_handle,
+ SC_R_BOARD_R1, SC_PM_PW_MODE_ON);
+
#ifdef CONFIG_MXC_GPIO
board_gpio_init();
#endif