--- zzzz-none-000/linux-4.4.60/arch/arm/kernel/setup.c 2017-04-08 07:53:53.000000000 +0000 +++ scorpion-1750e-727/linux-4.4.60/arch/arm/kernel/setup.c 2021-02-04 17:41:59.000000000 +0000 @@ -60,10 +60,18 @@ #include #include #include +#if defined(CONFIG_AVM_ENHANCED) +#include +#endif/*--- #if defined(CONFIG_AVM_ENHANCED) ---*/ #include "atags.h" +#include + +#include +#include + #if defined(CONFIG_FPE_NWFPE) || defined(CONFIG_FPE_FASTFPE) char fpe_type[8]; @@ -976,6 +984,9 @@ unflatten_device_tree(); + avm_fw_info_init(); + avm_module_mem_init(); + arm_dt_init_cpu_maps(); psci_dt_init(); xen_early_init(); @@ -1079,6 +1090,7 @@ static int c_show(struct seq_file *m, void *v) { int i, j; + int tmp; u32 cpuid; for_each_online_cpu(i) { @@ -1091,6 +1103,8 @@ cpuid = is_smp() ? per_cpu(cpu_data, i).cpuid : read_cpuid_id(); seq_printf(m, "model name\t: %s rev %d (%s)\n", cpu_name, cpuid & 15, elf_platform); + tmp = cpufreq_quick_get(i); + seq_printf(m, "cpu MHz\t: %u.%03u\n", tmp / 1000, tmp % 1000); #if defined(CONFIG_SMP) seq_printf(m, "BogoMIPS\t: %lu.%02lu\n",