X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fflash%2Fnor%2Fspi.h;h=6e939b76910d47393a6f3d6cf6cd3c498caa6fb8;hp=319b00b90d9dcb7d5455510f2d9de4c35695a0e6;hb=90ae846fc4009f8e466566ee0371398e52beecca;hpb=15e19011eae841ca4688f1a6053a4d76419bf10e diff --git a/src/flash/nor/spi.h b/src/flash/nor/spi.h index 319b00b90d..6e939b7691 100644 --- a/src/flash/nor/spi.h +++ b/src/flash/nor/spi.h @@ -18,7 +18,7 @@ * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ***************************************************************************/ /* data structure to maintain flash ids from different vendors */ @@ -43,7 +43,7 @@ struct flash_device { .size_in_bytes = size \ } -extern struct flash_device flash_devices[]; +extern const struct flash_device flash_devices[]; /* fields in SPI flash status register */ #define SPIFLASH_BSY_BIT 0x00000001 /* WIP Bit of SPI SR on SMI SR */