diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-23 22:41:13 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-23 22:41:13 +0000 |
commit | aea6815462d3302f7f8b6576f59320d5f5985642 (patch) | |
tree | 24db5c404a4568beabe33487235dc2befd1e0421 /src/flash/stellaris.h | |
parent | 0e2c2fe1d1eec5482078147d551215a58604cc3a (diff) | |
download | riscv-openocd-aea6815462d3302f7f8b6576f59320d5f5985642.zip riscv-openocd-aea6815462d3302f7f8b6576f59320d5f5985642.tar.gz riscv-openocd-aea6815462d3302f7f8b6576f59320d5f5985642.tar.bz2 |
- Fixes '<<' whitespace
- Replace ')\(<<\)\(\w\)' with ') \1 \2'.
- Replace '\(\w\)\(<<\)(' with '\1 \2 ('.
- Replace '\(\w\)\(<<\)\(\w\)' with '\1 \2 \3'.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2370 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash/stellaris.h')
-rw-r--r-- | src/flash/stellaris.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/flash/stellaris.h b/src/flash/stellaris.h index f2d3760..18fd3f2 100644 --- a/src/flash/stellaris.h +++ b/src/flash/stellaris.h @@ -82,11 +82,11 @@ typedef struct stellaris_flash_bank_s #define PMASK 2 /* Flash Controller Command bits */ -#define FMC_WRKEY (0xA442<<16) -#define FMC_COMT (1<<3) -#define FMC_MERASE (1<<2) -#define FMC_ERASE (1<<1) -#define FMC_WRITE (1<<0) +#define FMC_WRKEY (0xA442 << 16) +#define FMC_COMT (1 << 3) +#define FMC_MERASE (1 << 2) +#define FMC_ERASE (1 << 1) +#define FMC_WRITE (1 << 0) /* STELLARIS constants */ |