mach-k3: am62px: remove fdt_fixup_cpu_freq_nodes_am62p
fdt_fixup_cpu_freq_nodes_am62p is used to delete unsupported opp table
entries at runtime based on the SoC's speed grade.
However, the ti-cpufreq driver in kernel already has support for
rejecting unsupported entries. Therefore this fdt fixup is not necessary
and can be dropped.
Fixes: 8d05cbef73 ("arm: mach-k3: am62p: Fixup a53 max cpu frequency by speed-grade")
Signed-off-by: Anshul Dalal <anshuld@ti.com>
This commit is contained in:
@@ -39,17 +39,6 @@ static void fdt_fixup_canfd_nodes_am62p(void *blob, bool has_canfd)
|
||||
}
|
||||
}
|
||||
|
||||
static void fdt_fixup_cpu_freq_nodes_am62p(void *blob, int max_freq)
|
||||
{
|
||||
if (max_freq >= 1250000000)
|
||||
return;
|
||||
|
||||
if (max_freq <= 1000000000) {
|
||||
fdt_del_node_path(blob, "/opp-table/opp-1250000000");
|
||||
fdt_del_node_path(blob, "/opp-table/opp-1400000000");
|
||||
}
|
||||
}
|
||||
|
||||
static void fdt_fixup_thermal_cooling_device_cpus_am62p(void *blob, int core_nr)
|
||||
{
|
||||
static const char * const thermal_path[] = {
|
||||
@@ -92,7 +81,6 @@ int ft_system_setup(void *blob, struct bd_info *bd)
|
||||
fdt_fixup_canfd_nodes_am62p(blob, k3_has_canfd());
|
||||
fdt_fixup_thermal_critical_trips_k3(blob, k3_get_max_temp());
|
||||
fdt_fixup_thermal_cooling_device_cpus_am62p(blob, k3_get_core_nr());
|
||||
fdt_fixup_cpu_freq_nodes_am62p(blob, k3_get_a53_max_frequency());
|
||||
fdt_fixup_reserved(blob, "tfa", CONFIG_K3_ATF_LOAD_ADDR, 0x80000);
|
||||
fdt_fixup_reserved(blob, "optee", CONFIG_K3_OPTEE_LOAD_ADDR, 0x1800000);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user