mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-05-05 20:56:12 +02:00
imx9: soc: Disable cpu1 for variants that only has one A55 core
Disale CPU1 for i.MX93 variants that only has one A55 core and update cooling maps. Signed-off-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
parent
cd9b3de763
commit
98f948ec53
@ -12,7 +12,6 @@ endif
|
||||
ifeq ($(SOC),$(filter $(SOC),imx8m))
|
||||
ifneq ($(CONFIG_SPL_BUILD),y)
|
||||
obj-$(CONFIG_IMX_BOOTAUX) += imx_bootaux.o
|
||||
obj-y += fdt.o
|
||||
endif
|
||||
obj-$(CONFIG_ENV_IS_IN_MMC) += mmc_env.o
|
||||
obj-$(CONFIG_FEC_MXC) += mac.o
|
||||
@ -22,6 +21,12 @@ obj-$(CONFIG_IMX_HAB) += hab.o
|
||||
obj-y += cpu.o
|
||||
endif
|
||||
|
||||
ifeq ($(SOC),$(filter $(SOC),imx8m imx9))
|
||||
ifneq ($(CONFIG_SPL_BUILD),y)
|
||||
obj-y += fdt.o
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(SOC),$(filter $(SOC),mx5 mx6))
|
||||
obj-y += cpu.o speed.o
|
||||
ifneq ($(CONFIG_MX51),y)
|
||||
|
||||
@ -696,9 +696,17 @@ int board_fix_fdt(void *fdt)
|
||||
|
||||
int ft_system_setup(void *blob, struct bd_info *bd)
|
||||
{
|
||||
static const char * const nodes_path[] = {
|
||||
"/cpus/cpu@0",
|
||||
"/cpus/cpu@100",
|
||||
};
|
||||
|
||||
if (fixup_thermal_trips(blob, "cpu-thermal"))
|
||||
printf("Failed to update cpu-thermal trip(s)");
|
||||
|
||||
if (is_imx9351() || is_imx9331() || is_imx9321() || is_imx9311())
|
||||
disable_cpu_nodes(blob, nodes_path, 1, 2);
|
||||
|
||||
if (is_voltage_mode(VOLT_LOW_DRIVE))
|
||||
low_drive_freq_update(blob);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user