flash: fix stellaris class regression
authorSpencer Oliver <spen@spen-soft.co.uk>
Wed, 25 Jan 2012 14:58:47 +0000 (14:58 +0000)
committerSpencer Oliver <spen@spen-soft.co.uk>
Fri, 27 Jan 2012 19:24:19 +0000 (19:24 +0000)
for some reason the following commit was incorrect
769064de4bd8fc59804c37a418b83fcdba6fd36f

Only the Sandstorm and Fury class should write this register.

Change-Id: Ie18f1da6e9b59fb99cca47aa93c7f2fee447ccea
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/400
Tested-by: jenkins
src/flash/nor/stellaris.c

index b14c078e9e8cdb20a88f63145c9eb12bacc522e6..1aaa6e41470128a7db0b968b3f2ff6f5c47d2621 100644 (file)
@@ -529,7 +529,7 @@ static void stellaris_set_flash_timing(struct flash_bank *bank)
        uint32_t usecrl = (stellaris_info->mck_freq/1000000ul-1);
 
        /* only valid for Sandstorm and Fury class devices */
-       if (stellaris_info->target_class < 2)
+       if (stellaris_info->target_class > 1)
                return;
 
        LOG_DEBUG("usecrl = %i",(int)(usecrl));

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)