ARM: plat-samsung: remove unused register definitions
Subsystems (3)
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.
Signed-off-by Pankaj Dubey <[email protected]>
--- 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
@@ -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
PATCH 1/1 ARM: plat-samsung: remove unused register definitions
Quoted 7 lines · Pankaj Dubey
This patch removes
S5P_VA_TWDandS3C_UART_OFFSETas it is no more used by any platform which including this header file.Signed-off-by Pankaj Dubey <[email protected]>--- 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