Blackfin arch: use bfin_read_SWRST() now that BF561 provides it
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
This commit is contained in:
parent
315a8e34f7
commit
e5b6bd61f2
@ -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. */
|
||||||
|
Loading…
Reference in New Issue
Block a user