]> git.sur5r.net Git - openocd/commitdiff
flash: add missing stellaris device classes
authorSpencer Oliver <spen@spen-soft.co.uk>
Mon, 16 Jan 2012 17:36:41 +0000 (17:36 +0000)
committerSpencer Oliver <spen@spen-soft.co.uk>
Wed, 18 Jan 2012 21:46:48 +0000 (21:46 +0000)
This adds missing classes to the stellaris flash driver.

Change-Id: I90f2218479e5eb60950046fef04429b9529f7ddf
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/382
Tested-by: jenkins
Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com>
src/flash/nor/stellaris.c

index 10e4d559fc0653970101580f623fdb7ad5b7e2d9..9645c5fe5d287e1ac8052468cea63e3916d8ff7a 100644 (file)
@@ -700,6 +700,8 @@ static int stellaris_read_part_info(struct flash_bank *bank)
         * always approximate.
         *
         * For Tempest:  IOSC is calibrated, 16 MHz
+        * For Blizzard:  IOSC is calibrated, 16 MHz
+        * For Firestorm:  IOSC is calibrated, 16 MHz
         */
        stellaris_info->iosc_freq = 12000000;
        stellaris_info->iosc_desc = " (±30%)";
@@ -722,6 +724,8 @@ static int stellaris_read_part_info(struct flash_bank *bank)
                case 1:                 /* Fury */
                        break;
                case 4:                 /* Tempest */
+               case 5:                 /* Blizzard */
+               case 6:                 /* Firestorm */
                        stellaris_info->iosc_freq = 16000000;   /* +/- 1% */
                        stellaris_info->iosc_desc = " (±1%)";
                        /* FALL THROUGH */