Whitespace cleanup from David Brownell <david-b@pacbell.net>
git-svn-id: svn://svn.berlios.de/openocd/trunk@1802 b42882b7-edfa-0310-969c-e2dbd0fdcd60__archive__
parent
41826d5bd9
commit
a931baa619
|
@ -99,7 +99,7 @@ enum
|
|||
|
||||
typedef struct nand_manufacturer_s
|
||||
{
|
||||
int id;
|
||||
int id;
|
||||
char *name;
|
||||
} nand_manufacturer_t;
|
||||
|
||||
|
|
|
@ -47,7 +47,6 @@ typedef struct stellaris_flash_bank_s
|
|||
u32 rcc;
|
||||
u8 mck_valid;
|
||||
u32 mck_freq;
|
||||
|
||||
} stellaris_flash_bank_t;
|
||||
|
||||
/* STELLARIS control registers */
|
||||
|
@ -66,7 +65,7 @@ typedef struct stellaris_flash_bank_s
|
|||
|
||||
#define FMPRE 0x130
|
||||
#define FMPPE 0x134
|
||||
#define USECRL 0x140
|
||||
#define USECRL 0x140
|
||||
|
||||
#define FLASH_CONTROL_BASE 0x400FD000
|
||||
#define FLASH_FMA (FLASH_CONTROL_BASE|0x000)
|
||||
|
|
|
@ -66,17 +66,17 @@ typedef struct stm32x_flash_bank_s
|
|||
|
||||
#define FLASH_PG (1<<0)
|
||||
#define FLASH_PER (1<<1)
|
||||
#define FLASH_MER (1<<2)
|
||||
#define FLASH_MER (1<<2)
|
||||
#define FLASH_OPTPG (1<<4)
|
||||
#define FLASH_OPTER (1<<5)
|
||||
#define FLASH_STRT (1<<6)
|
||||
#define FLASH_LOCK (1<<7)
|
||||
#define FLASH_OPTWRE (1<<9)
|
||||
|
||||
/* FLASH_SR regsiter bits */
|
||||
/* FLASH_SR register bits */
|
||||
|
||||
#define FLASH_BSY (1<<0)
|
||||
#define FLASH_PGERR (1<<2)
|
||||
#define FLASH_PGERR (1<<2)
|
||||
#define FLASH_WRPRTERR (1<<4)
|
||||
#define FLASH_EOP (1<<5)
|
||||
|
||||
|
|
|
@ -59,14 +59,14 @@ enum str7x_status_codes
|
|||
#define FLASH_AR 0x00000010
|
||||
#define FLASH_ER 0x00000014
|
||||
#define FLASH_NVWPAR 0x0000DFB0
|
||||
#define FLASH_NVAPR0 0x0000DFB8
|
||||
#define FLASH_NVAPR1 0x0000DFBC
|
||||
#define FLASH_NVAPR0 0x0000DFB8
|
||||
#define FLASH_NVAPR1 0x0000DFBC
|
||||
|
||||
/* FLASH_CR0 register bits */
|
||||
|
||||
#define FLASH_WMS 0x80000000
|
||||
#define FLASH_SUSP 0x40000000
|
||||
#define FLASH_WPG 0x20000000
|
||||
#define FLASH_WPG 0x20000000
|
||||
#define FLASH_DWPG 0x10000000
|
||||
#define FLASH_SER 0x08000000
|
||||
#define FLASH_SPR 0x01000000
|
||||
|
@ -76,7 +76,7 @@ enum str7x_status_codes
|
|||
#define FLASH_BSYA1 0x00000004
|
||||
#define FLASH_BSYA0 0x00000002
|
||||
|
||||
/* FLASH_CR1 regsiter bits */
|
||||
/* FLASH_CR1 register bits */
|
||||
|
||||
#define FLASH_B1S 0x02000000
|
||||
#define FLASH_B0S 0x01000000
|
||||
|
|
Loading…
Reference in New Issue