diff options
| author | Mike Frysinger <[email protected]> | 2011-04-30 04:38:22 -0400 |
|---|---|---|
| committer | Mike Frysinger <[email protected]> | 2011-07-12 02:17:45 -0400 |
| commit | 08a82a447b2a89d705edba952612d00c84129cb8 (patch) | |
| tree | a8101bf56ae5557fa8d271d40210156413e12fcb | |
| parent | e46e8159c901f369c4260c61afcae8b4d6a50f2f (diff) | |
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 <[email protected]>
| -rw-r--r-- | arch/blackfin/cpu/reset.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/blackfin/cpu/reset.c b/arch/blackfin/cpu/reset.c index e23dcc7bae8..ff39035de29 100644 --- a/arch/blackfin/cpu/reset.c +++ b/arch/blackfin/cpu/reset.c @@ -51,7 +51,9 @@ static void bfin_reset(void) /* The BF526 ROM will crash during reset */ #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 /* Wait for the SWRST write to complete. Cannot rely on SSYNC |
