projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
imx: imx8qm/imx8qxp: Power down the resources before SPL jump to u-boot
[oweals/u-boot.git]
/
board
/
freescale
/
imx8qm_mek
/
spl.c
diff --git
a/board/freescale/imx8qm_mek/spl.c
b/board/freescale/imx8qm_mek/spl.c
index cb4006eb2a40dc3cef6fdfd4130f2c8477a5d120..ba99002cf29cfd608f0d1e865e960f6bf29c759c 100644
(file)
--- a/
board/freescale/imx8qm_mek/spl.c
+++ b/
board/freescale/imx8qm_mek/spl.c
@@
-12,6
+12,7
@@
#include <dm/uclass-internal.h>
#include <dm/device-internal.h>
#include <dm/lists.h>
#include <dm/uclass-internal.h>
#include <dm/device-internal.h>
#include <dm/lists.h>
+#include <asm/arch/sys_proto.h>
DECLARE_GLOBAL_DATA_PTR;
DECLARE_GLOBAL_DATA_PTR;
@@
-37,6
+38,11
@@
void spl_board_init(void)
puts("Normal Boot\n");
}
puts("Normal Boot\n");
}
+void spl_board_prepare_for_boot(void)
+{
+ imx8_power_off_pd_devices(NULL, 0);
+}
+
#ifdef CONFIG_SPL_LOAD_FIT
int board_fit_config_name_match(const char *name)
{
#ifdef CONFIG_SPL_LOAD_FIT
int board_fit_config_name_match(const char *name)
{