ARM: S5P: Fix length of memory resource definition for UART devices
Subsystems (3)
PATCH 1/1 ARM: S5P: Fix length of memory resource definition for UART devices
The length of memory resource definition for UART devices in all the s5p platforms is one byte more than the intended value. This patch fixes the UART memory resource definition for all s5p platforms.
Signed-off-by Thomas Abraham <[email protected]>
--- arch/arm/mach-s5p6442/include/mach/map.h | 2 +- arch/arm/mach-s5p64x0/include/mach/map.h | 2 +- arch/arm/mach-s5pc100/include/mach/map.h | 2 +- arch/arm/mach-s5pv210/include/mach/map.h | 2 +- arch/arm/mach-s5pv310/include/mach/map.h | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-)
arch/arm/mach-s5p6442/include/mach/map.h +1 -1
@@ -46,7 +46,7 @@#define S5P_PA_UART0 (S5P6442_PA_UART + 0x0)#define S5P_PA_UART1 (S5P6442_PA_UART + 0x400)#define S5P_PA_UART2 (S5P6442_PA_UART + 0x800) -#define S5P_SZ_UART SZ_256 +#define S5P_SZ_UART (SZ_256 - 1)#define S5P6442_PA_IIC0 (0xEC100000)
arch/arm/mach-s5p64x0/include/mach/map.h +1 -1
@@ -51,7 +51,7 @@#define S5P_PA_UART4 S5P6450_PA_UART(4)#define S5P_PA_UART5 S5P6450_PA_UART(5) -#define S5P_SZ_UART SZ_256 +#define S5P_SZ_UART (SZ_256 - 1)#define S5P6440_PA_IIC0 (0xEC104000)#define S5P6440_PA_IIC1 (0xEC20F000)
arch/arm/mach-s5pc100/include/mach/map.h +1 -1
@@ -128,6 +128,6 @@#define S5P_PA_UART2 S5P_PA_UART(2)#define S5P_PA_UART3 S5P_PA_UART(3) -#define S5P_SZ_UART SZ_256 +#define S5P_SZ_UART (SZ_256 - 1)#endif /* __ASM_ARCH_MAP_H */
arch/arm/mach-s5pv210/include/mach/map.h +1 -1
@@ -130,6 +130,6 @@#define S5P_PA_UART2 S5P_PA_UART(2)#define S5P_PA_UART3 S5P_PA_UART(3) -#define S5P_SZ_UART SZ_256 +#define S5P_SZ_UART (SZ_256 - 1)#endif /* __ASM_ARCH_MAP_H */
arch/arm/mach-s5pv310/include/mach/map.h +1 -1
@@ -139,6 +139,6 @@#define S5P_PA_UART3 S5P_PA_UART(3)#define S5P_PA_UART4 S5P_PA_UART(4) -#define S5P_SZ_UART SZ_256 +#define S5P_SZ_UART (SZ_256 - 1)#endif /* __ASM_ARCH_MAP_H */
Signature · 1 line
1.6.6.rc2