ARC: clocksource: DT based probe
[cascardo/linux.git] / arch / arc / kernel / mcip.c
index c41c364..262d9c3 100644 (file)
@@ -116,15 +116,13 @@ static void mcip_probe_n_setup(void)
                IS_AVAIL1(mp.dbg, "DEBUG "),
                IS_AVAIL1(mp.gfrc, "GFRC"));
 
+       cpuinfo_arc700[0].extn.gfrc = mp.gfrc;
        idu_detected = mp.idu;
 
        if (mp.dbg) {
                __mcip_cmd_data(CMD_DEBUG_SET_SELECT, 0, 0xf);
                __mcip_cmd_data(CMD_DEBUG_SET_MASK, 0xf, 0xf);
        }
-
-       if (IS_ENABLED(CONFIG_ARC_HAS_GFRC) && !mp.gfrc)
-               panic("kernel trying to use non-existent GFRC\n");
 }
 
 struct plat_smp_ops plat_smp_ops = {