Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Uwe Kleine-König and committed by
Anatolij Gustschin
ffcea122 de03fe28

-2
-2
arch/powerpc/include/asm/mpc52xx_psc.h
··· 261 261 #define MPC512x_PSC_FIFO_FULL 0x2 262 262 #define MPC512x_PSC_FIFO_ALARM 0x4 263 263 #define MPC512x_PSC_FIFO_URERR 0x8 264 - #define MPC512x_PSC_FIFO_ORERR 0x01 265 - #define MPC512x_PSC_FIFO_MEMERROR 0x02 266 264 267 265 struct mpc512x_psc_fifo { 268 266 u32 reserved1[10];