Skip to contentSkip to conversation

ARM: plat-samsung: remove unused register definitions

PATCH New Pankaj Dubey 2 participants 2 messages Feb 23, 2016 – Feb 24, 2016

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: plat-samsung: remove unused register definitions

This patch removes S5P_VA_TWD and S3C_UART_OFFSET as it is no more used by any platform which including this header file.

---
 arch/arm/plat-samsung/include/plat/map-s5p.h | 5 -----
 1 file changed, 5 deletions(-)
arch/arm/plat-samsung/include/plat/map-s5p.h +0 -5
index e555769..b63aeeb 100644
@@ -22,7 +22,6 @@
 #define S5P_VA_COREPERI_BASE	S3C_ADDR(0x02800000)
 #define S5P_VA_COREPERI(x)	(S5P_VA_COREPERI_BASE + (x))
 #define S5P_VA_SCU		S5P_VA_COREPERI(0x0)
-#define S5P_VA_TWD		S5P_VA_COREPERI(0x600)
 
 #define VA_VIC(x)		(S3C_VA_IRQ + ((x) * 0x10000))
 #define VA_VIC0			VA_VIC(0)
@@ -30,10 +29,6 @@
 #define VA_VIC2			VA_VIC(2)
 #define VA_VIC3			VA_VIC(3)
 
-#ifndef S3C_UART_OFFSET
-#define S3C_UART_OFFSET		(0x400)
-#endif
-
 #include <plat/map-s3c.h>
 
 #endif /* __ASM_PLAT_MAP_S5P_H */
Signature · 1 line
2.4.5
#1 lore raw

PATCH 1/1 ARM: plat-samsung: remove unused register definitions

Quoted 7 lines · Pankaj Dubey

This patch removes S5P_VA_TWD and S3C_UART_OFFSET as it is no more used by any platform which including this header file.

---
 arch/arm/plat-samsung/include/plat/map-s5p.h | 5 -----
 1 file changed, 5 deletions(-)

Just squash it with previous patch and remove S3C_UART_OFFSET atomically. Everywhere or nowhere. Not a little bit here, a little bit there.

Best regards,
Krzysztof