summaryrefslogtreecommitdiff
path: root/board/freescale/imx8qm_mek/spl.c
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2019-09-02 11:04:11 +0300
committerStefano Babic <sbabic@denx.de>2019-11-05 12:27:18 +0300
commit84abc8d53345d5cc3bf018821caa742a34f65226 (patch)
tree2b253818feb01ed2d66d23255acf855720c05bde /board/freescale/imx8qm_mek/spl.c
parent73b6e6ad254b36763419cdd3fdf406c0094517b7 (diff)
downloadu-boot-84abc8d53345d5cc3bf018821caa742a34f65226.tar.xz
imx8qm: mek: enable dm-spl for pm
with u-boot,dm-spl added for imx8qm-pm node, and SPL_SIMPLE_BUS enabled, the bind and probe code in board file could be removed. Also we need to enlarge SYS_MALLOC_F_LEN to avoid calloc fail. Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'board/freescale/imx8qm_mek/spl.c')
-rw-r--r--board/freescale/imx8qm_mek/spl.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/board/freescale/imx8qm_mek/spl.c b/board/freescale/imx8qm_mek/spl.c
index 95ce9f37e8..cb4006eb2a 100644
--- a/board/freescale/imx8qm_mek/spl.c
+++ b/board/freescale/imx8qm_mek/spl.c
@@ -18,7 +18,6 @@ DECLARE_GLOBAL_DATA_PTR;
void spl_board_init(void)
{
struct udevice *dev;
- int offset;
uclass_find_first_device(UCLASS_MISC, &dev);
@@ -27,21 +26,6 @@ void spl_board_init(void)
continue;
}
- offset = fdt_node_offset_by_compatible(gd->fdt_blob, -1, "nxp,imx8-pd");
- while (offset != -FDT_ERR_NOTFOUND) {
- lists_bind_fdt(gd->dm_root, offset_to_ofnode(offset),
- NULL, true);
- offset = fdt_node_offset_by_compatible(gd->fdt_blob, offset,
- "nxp,imx8-pd");
- }
-
- uclass_find_first_device(UCLASS_POWER_DOMAIN, &dev);
-
- for (; dev; uclass_find_next_device(&dev)) {
- if (device_probe(dev))
- continue;
- }
-
arch_cpu_init();
board_early_init_f();