From fbe1c23c12c8db7820a8f9a3fb62cfa9a60a745c Mon Sep 17 00:00:00 2001 From: oharboe Date: Sun, 30 Aug 2009 20:05:40 +0000 Subject: David Brownell Fix Sandstorm revision checking: right bits, right value! git-svn-id: svn://svn.berlios.de/openocd/trunk@2653 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/flash/stellaris.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/flash') diff --git a/src/flash/stellaris.c b/src/flash/stellaris.c index f479af04..806544d5 100644 --- a/src/flash/stellaris.c +++ b/src/flash/stellaris.c @@ -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%)"; } -- cgit v1.2.3