Blackfin: dont reset SWRST on newer bf526 parts
The bug in the BF526 rom when doing a software reset exists only in older silicon versions, so don't clear SWRST on newer parts. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
e46e8159c9
commit
08a82a447b
|
@ -51,7 +51,9 @@ static void bfin_reset(void)
|
||||||
|
|
||||||
/* The BF526 ROM will crash during reset */
|
/* The BF526 ROM will crash during reset */
|
||||||
#if defined(__ADSPBF522__) || defined(__ADSPBF524__) || defined(__ADSPBF526__)
|
#if defined(__ADSPBF522__) || defined(__ADSPBF524__) || defined(__ADSPBF526__)
|
||||||
bfin_read_SWRST();
|
/* Seems to be fixed with newer parts though ... */
|
||||||
|
if (__SILICON_REVISION__ < 1 && bfin_revid() < 1)
|
||||||
|
bfin_read_SWRST();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Wait for the SWRST write to complete. Cannot rely on SSYNC
|
/* Wait for the SWRST write to complete. Cannot rely on SSYNC
|
||||||
|
|
Loading…
Reference in New Issue