aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf518
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-09-29 21:21:13 -0400
committerMike Frysinger <vapier@gentoo.org>2009-12-15 00:14:09 -0500
commitb6357116c4ef06633ee92dfcb0b8ae058f367c77 (patch)
tree4eed53ff2dda46d72816806ac7455253d1e88881 /arch/blackfin/mach-bf518
parent6e3647554e2bf7d7a898ccfc35941adbecd888e7 (diff)
Blackfin: BF51x/BF52x: fill out bfin_clear_PPI_STATUS()
All the arches define a helper macro to make things easy for driver code. Reported-by: Frank Van Hooft <frank@frankvh.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-bf518')
-rw-r--r--arch/blackfin/mach-bf518/include/mach/cdefBF51x_base.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf518/include/mach/cdefBF51x_base.h b/arch/blackfin/mach-bf518/include/mach/cdefBF51x_base.h
index 1d970df7aee9..d2d05336c533 100644
--- a/arch/blackfin/mach-bf518/include/mach/cdefBF51x_base.h
+++ b/arch/blackfin/mach-bf518/include/mach/cdefBF51x_base.h
@@ -844,6 +844,7 @@
844#define bfin_write_PPI_CONTROL(val) bfin_write16(PPI_CONTROL, val) 844#define bfin_write_PPI_CONTROL(val) bfin_write16(PPI_CONTROL, val)
845#define bfin_read_PPI_STATUS() bfin_read16(PPI_STATUS) 845#define bfin_read_PPI_STATUS() bfin_read16(PPI_STATUS)
846#define bfin_write_PPI_STATUS(val) bfin_write16(PPI_STATUS, val) 846#define bfin_write_PPI_STATUS(val) bfin_write16(PPI_STATUS, val)
847#define bfin_clear_PPI_STATUS() bfin_write_PPI_STATUS(0xFFFF)
847#define bfin_read_PPI_DELAY() bfin_read16(PPI_DELAY) 848#define bfin_read_PPI_DELAY() bfin_read16(PPI_DELAY)
848#define bfin_write_PPI_DELAY(val) bfin_write16(PPI_DELAY, val) 849#define bfin_write_PPI_DELAY(val) bfin_write16(PPI_DELAY, val)
849#define bfin_read_PPI_COUNT() bfin_read16(PPI_COUNT) 850#define bfin_read_PPI_COUNT() bfin_read16(PPI_COUNT)