mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-04-01 12:01:31 +00:00
imx8qxp: mek: enable dm-spl for pm
with u-boot,dm-spl added for imx8qx-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>
This commit is contained in:
parent
c7d00f63d1
commit
e5b8f7e665
3 changed files with 6 additions and 16 deletions
|
@ -3,6 +3,11 @@
|
||||||
* Copyright 2018 NXP
|
* Copyright 2018 NXP
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
&{/imx8qx-pm} {
|
||||||
|
|
||||||
|
u-boot,dm-spl;
|
||||||
|
};
|
||||||
|
|
||||||
&mu {
|
&mu {
|
||||||
u-boot,dm-spl;
|
u-boot,dm-spl;
|
||||||
};
|
};
|
||||||
|
|
|
@ -27,21 +27,6 @@ void spl_board_init(void)
|
||||||
continue;
|
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();
|
arch_cpu_init();
|
||||||
|
|
||||||
board_early_init_f();
|
board_early_init_f();
|
||||||
|
|
|
@ -4,7 +4,7 @@ CONFIG_SYS_TEXT_BASE=0x80020000
|
||||||
CONFIG_SPL_GPIO_SUPPORT=y
|
CONFIG_SPL_GPIO_SUPPORT=y
|
||||||
CONFIG_SPL_LIBCOMMON_SUPPORT=y
|
CONFIG_SPL_LIBCOMMON_SUPPORT=y
|
||||||
CONFIG_SPL_LIBGENERIC_SUPPORT=y
|
CONFIG_SPL_LIBGENERIC_SUPPORT=y
|
||||||
CONFIG_SYS_MALLOC_F_LEN=0x2000
|
CONFIG_SYS_MALLOC_F_LEN=0x4000
|
||||||
CONFIG_TARGET_IMX8QXP_MEK=y
|
CONFIG_TARGET_IMX8QXP_MEK=y
|
||||||
CONFIG_SPL_MMC_SUPPORT=y
|
CONFIG_SPL_MMC_SUPPORT=y
|
||||||
CONFIG_SPL_SERIAL_SUPPORT=y
|
CONFIG_SPL_SERIAL_SUPPORT=y
|
||||||
|
|
Loading…
Add table
Reference in a new issue