]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/arc/lib/cpu.c
arc: get rid of running_on_hw
[people/ms/u-boot.git] / arch / arc / lib / cpu.c
index 4e4dd74db3d7e1ef9734ae95b28ba607150c8f6d..d1f10abb6850b803cdf84eb7c6b1f1a1b4e1fd99 100644 (file)
@@ -14,12 +14,6 @@ int arch_cpu_init(void)
 {
        timer_init();
 
-/* In simulation (ISS) "CHIPID" and "ARCNUM" are all "ff" */
-       if ((read_aux_reg(ARC_AUX_IDENTITY) & 0xffffff00) == 0xffffff00)
-               gd->arch.running_on_hw = 0;
-       else
-               gd->arch.running_on_hw = 1;
-
        gd->cpu_clk = CONFIG_SYS_CLK_FREQ;
        gd->ram_size = CONFIG_SYS_SDRAM_SIZE;