Browse Source

David Brownell <david-b@pacbell.net> Fix Sandstorm revision checking: right bits, right value!

git-svn-id: svn://svn.berlios.de/openocd/trunk@2653 b42882b7-edfa-0310-969c-e2dbd0fdcd60
tags/v0.3.0-rc0
oharboe 14 years ago
parent
commit
fbe1c23c12
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/flash/stellaris.c

+ 1
- 1
src/flash/stellaris.c View File

@@ -581,7 +581,7 @@ static int stellaris_read_part_info(struct flash_bank_s *bank)
* Parts before rev C0 used 15 MHz; some C0 parts use 15 MHz
* (LM3S618), but some other C0 parts are 12 MHz (LM3S811).
*/
if (((did0 >> 16) & 0xff) <= 2) {
if (((did0 >> 8) & 0xff) < 2) {
stellaris_info->iosc_freq = 15000000;
stellaris_info->iosc_desc = " (±50%)";
}


Loading…
Cancel
Save