summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2015-07-21 09:21:13 +0200
committerAnatolij Gustschin <agust@denx.de>2015-10-22 16:06:08 +0200
commitffcea122c42a856ac22dea75dc165fa070849f26 (patch)
treec3b879e49ba927382a695cabe2bbf2ebd4b262c1
parentde03fe287bb62e7961ea51d8a1bbae3167852252 (diff)
downloadop-kernel-dev-ffcea122c42a856ac22dea75dc165fa070849f26.zip
op-kernel-dev-ffcea122c42a856ac22dea75dc165fa070849f26.tar.gz
powerpc: mpc512x: drop bogus and unused psc register bit definitions
These were introduced in commit 25ae3a0739c6 ("[POWERPC] mpc512x: Add MPC512x PSC support to MPC52xx psc driver") and never used. Moreover according to the datasheet[1] MEMERROR is bit 25 (0x40) and ORERR is bit 27 (0x10). [1] MPC5125RM Rev. 2; 11/2009 Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Anatolij Gustschin <agust@denx.de>
-rw-r--r--arch/powerpc/include/asm/mpc52xx_psc.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/include/asm/mpc52xx_psc.h b/arch/powerpc/include/asm/mpc52xx_psc.h
index 04c7e8f..ec995b2 100644
--- a/arch/powerpc/include/asm/mpc52xx_psc.h
+++ b/arch/powerpc/include/asm/mpc52xx_psc.h
@@ -261,8 +261,6 @@ struct mpc52xx_psc_fifo {
#define MPC512x_PSC_FIFO_FULL 0x2
#define MPC512x_PSC_FIFO_ALARM 0x4
#define MPC512x_PSC_FIFO_URERR 0x8
-#define MPC512x_PSC_FIFO_ORERR 0x01
-#define MPC512x_PSC_FIFO_MEMERROR 0x02
struct mpc512x_psc_fifo {
u32 reserved1[10];
OpenPOWER on IntegriCloud