diff options
author | Barry Song <barry.song@analog.com> | 2009-07-13 00:16:42 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-09-16 21:31:47 -0400 |
commit | f41e2fded031cd8f3c0430687fa6b35ca0589088 (patch) | |
tree | 436b8a6ffffedcf8b8a2a6e10df9cbc08243eb54 /arch/blackfin/mach-bf538 | |
parent | a2f78cfc656e3013e5024460a7b8a0b3dde456d3 (diff) |
Blackfin: bf538: add bfin_clear_PPI_STATUS() helper
Add the bf538 version of bfin_clear_PPI_STATUS() to match all other ports.
Signed-off-by: Barry Song <barry.song@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-bf538')
-rw-r--r-- | arch/blackfin/mach-bf538/include/mach/cdefBF538.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf538/include/mach/cdefBF538.h b/arch/blackfin/mach-bf538/include/mach/cdefBF538.h index 99ca3f4305e2..1de67515dc9d 100644 --- a/arch/blackfin/mach-bf538/include/mach/cdefBF538.h +++ b/arch/blackfin/mach-bf538/include/mach/cdefBF538.h | |||
@@ -1310,6 +1310,7 @@ | |||
1310 | #define bfin_write_PPI_CONTROL(val) bfin_write16(PPI_CONTROL, val) | 1310 | #define bfin_write_PPI_CONTROL(val) bfin_write16(PPI_CONTROL, val) |
1311 | #define bfin_read_PPI_STATUS() bfin_read16(PPI_STATUS) | 1311 | #define bfin_read_PPI_STATUS() bfin_read16(PPI_STATUS) |
1312 | #define bfin_write_PPI_STATUS(val) bfin_write16(PPI_STATUS, val) | 1312 | #define bfin_write_PPI_STATUS(val) bfin_write16(PPI_STATUS, val) |
1313 | #define bfin_clear_PPI_STATUS() bfin_read_PPI_STATUS() | ||
1313 | #define bfin_read_PPI_DELAY() bfin_read16(PPI_DELAY) | 1314 | #define bfin_read_PPI_DELAY() bfin_read16(PPI_DELAY) |
1314 | #define bfin_write_PPI_DELAY(val) bfin_write16(PPI_DELAY, val) | 1315 | #define bfin_write_PPI_DELAY(val) bfin_write16(PPI_DELAY, val) |
1315 | #define bfin_read_PPI_COUNT() bfin_read16(PPI_COUNT) | 1316 | #define bfin_read_PPI_COUNT() bfin_read16(PPI_COUNT) |