Blackfin arch: use bfin_read_SWRST() now that BF561 provides it
authorMike Frysinger <michael.frysinger@analog.com>
Tue, 24 Jul 2007 08:59:37 +0000 (16:59 +0800)
committerBryan Wu <bryan.wu@analog.com>
Tue, 24 Jul 2007 08:59:37 +0000 (16:59 +0800)
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
arch/blackfin/kernel/setup.c

index f59dcee7bae3da76723a3432866fa08d8b7d9f0a..75aeca8f7c21da9c15d9d2556effd53c33c003ea 100644 (file)
@@ -402,11 +402,7 @@ void __init setup_arch(char **cmdline_p)
        if (l1_length > L1_DATA_A_LENGTH)
                panic("L1 data memory overflow\n");
 
-#ifdef BF561_FAMILY
-       _bfin_swrst = bfin_read_SICA_SWRST();
-#else
        _bfin_swrst = bfin_read_SWRST();
-#endif
 
        /* Copy atomic sequences to their fixed location, and sanity check that
           these locations are the ones that we advertise to userspace.  */