[PATCH] ARM: clps711x: Remove SYSCON3 handling

Alexander Shiyan shc_work at mail.ru
Sat Feb 22 02:42:49 EST 2014


SYSCON3 register is not used in the barebox, so remove driver for
this register entirely.

Signed-off-by: Alexander Shiyan <shc_work at mail.ru>
---
 arch/arm/mach-clps711x/devices.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/arch/arm/mach-clps711x/devices.c b/arch/arm/mach-clps711x/devices.c
index c7a2fbd..e27476d 100644
--- a/arch/arm/mach-clps711x/devices.c
+++ b/arch/arm/mach-clps711x/devices.c
@@ -124,9 +124,6 @@ static __init int clps711x_syscon_init(void)
 	/* SYSCON2, SYSFLG2 */
 	add_generic_device("syscon", 2, NULL, SYSCON2, SZ_128,
 			   IORESOURCE_MEM, NULL);
-	/* SYSCON3 */
-	add_generic_device("syscon", 3, NULL, SYSCON3, SZ_64,
-			   IORESOURCE_MEM, NULL);
 
 	return 0;
 }
-- 
1.8.3.2




More information about the barebox mailing list