Skip to contentSkip to conversation

ARM: S5PV210: Fix build error on pm debug

PATCH In review Sangbeom Kim 2 participants 2 messages Oct 7, 2010 – Oct 8, 2010

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

PATCH 1/1 ARM: S5PV210: Fix build error on pm debug

This patch fixes build error by S3C2410 PM
Suspend debug option due to undefined address

---
 arch/arm/mach-s5pv210/include/mach/map.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/mach-s5pv210/include/mach/map.h +2 -0
index bd9afd5..9f2bee2 100644
@@ -57,6 +57,8 @@
 
 #define S5P_SZ_UART		SZ_256
 
+#define S3C_VA_UARTx(x)		(S3C_VA_UART + ((x) * S3C_UART_OFFSET))
+
 #define S5PV210_PA_SROMC	(0xE8000000)
 
 #define S5PV210_PA_CFCON	(0xE8200000)
Signature · 1 line
1.6.2.5
#1 lore raw
Quoted 3 lines · Sangbeom Kim

This patch fixes build error by S3C2410 PM
Suspend debug option due to undefined address

^^^^^
No need above blank?

Looks ok anyway...will apply.

Quoted 19 lines
---
 arch/arm/mach-s5pv210/include/mach/map.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/mach- renamed from arch/arm/mach-s5pv210/include/mach/map.h +0 -0

s5pv210/include/mach/map.h
index bd9afd5..9f2bee2 100644

arch/arm/mach-s5pv210/include/mach/map.h +2 -0
@@ -57,6 +57,8 @@
 
 #define S5P_SZ_UART		SZ_256
 
+#define S3C_VA_UARTx(x)		(S3C_VA_UART + ((x) *
 S3C_UART_OFFSET))
+
 #define S5PV210_PA_SROMC	(0xE8000000)
 
Quoted 2 lines

#define S5PV210_PA_CFCON (0xE8200000)
--

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.