--- zzzz-none-000/linux-4.1.38/init/calibrate.c 2017-01-18 18:48:06.000000000 +0000 +++ bcm63-7582-715/linux-4.1.38/init/calibrate.c 2020-11-25 10:06:48.000000000 +0000 @@ -11,6 +11,20 @@ #include #include +#if defined(CONFIG_BCM_KF_IKOS) && defined(CONFIG_BRCM_IKOS) +void calibrate_delay(void) +{ + printk("IKOS bypassing delay loop calibration, using "); +#if defined(CONFIG_BCM63138_SIM) || defined(CONFIG_BCM63148_SIM) + loops_per_jiffy = 800000; +#else + loops_per_jiffy = 500000; +#endif + printk("%lu.%02lu BogoMIPS\n", + loops_per_jiffy/(500000/HZ), + (loops_per_jiffy/(5000/HZ)) % 100); +} +#else unsigned long lpj_fine; unsigned long preset_lpj; static int __init lpj_setup(char *str) @@ -313,3 +327,4 @@ calibration_delay_done(); } +#endif