Commit e5b6bd61 authored by Mike Frysinger's avatar Mike Frysinger Committed by Bryan Wu

Blackfin arch: use bfin_read_SWRST() now that BF561 provides it

Signed-off-by: default avatarMike Frysinger <michael.frysinger@analog.com>
Signed-off-by: default avatarBryan Wu <bryan.wu@analog.com>
parent 315a8e34
...@@ -402,11 +402,7 @@ void __init setup_arch(char **cmdline_p) ...@@ -402,11 +402,7 @@ void __init setup_arch(char **cmdline_p)
if (l1_length > L1_DATA_A_LENGTH) if (l1_length > L1_DATA_A_LENGTH)
panic("L1 data memory overflow\n"); panic("L1 data memory overflow\n");
#ifdef BF561_FAMILY
_bfin_swrst = bfin_read_SICA_SWRST();
#else
_bfin_swrst = bfin_read_SWRST(); _bfin_swrst = bfin_read_SWRST();
#endif
/* Copy atomic sequences to their fixed location, and sanity check that /* Copy atomic sequences to their fixed location, and sanity check that
these locations are the ones that we advertise to userspace. */ these locations are the ones that we advertise to userspace. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment