From patchwork Tue Feb 8 03:37:15 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: thomas.abraham@linaro.org X-Patchwork-Id: 83 Return-Path: Delivered-To: unknown Received: from imap.gmail.com (74.125.159.109) by localhost6.localdomain6 with IMAP4-SSL; 08 Jun 2011 14:39:50 -0000 Delivered-To: patches@linaro.org Received: by 10.147.124.5 with SMTP id b5cs77090yan; Mon, 7 Feb 2011 19:39:09 -0800 (PST) Received: by 10.231.16.131 with SMTP id o3mr18370087iba.5.1297136348977; Mon, 07 Feb 2011 19:39:08 -0800 (PST) Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33]) by mx.google.com with ESMTP id u18si11868793ibk.20.2011.02.07.19.39.07; Mon, 07 Feb 2011 19:39:08 -0800 (PST) Received-SPF: neutral (google.com: 203.254.224.33 is neither permitted nor denied by best guess record for domain of thomas.abraham@linaro.org) client-ip=203.254.224.33; Authentication-Results: mx.google.com; spf=neutral (google.com: 203.254.224.33 is neither permitted nor denied by best guess record for domain of thomas.abraham@linaro.org) smtp.mail=thomas.abraham@linaro.org Received: from epmmp1 (mailout3.samsung.com [203.254.224.33]) by mailout3.samsung.com (Oracle Communications Messaging Exchange Server 7u4-19.01 64bit (built Sep 7 2010)) with ESMTP id <0LGA00KFI4T6I400@mailout3.samsung.com>; Tue, 08 Feb 2011 12:39:06 +0900 (KST) Received: from localhost.localdomain ([107.108.73.37]) by mmp1.samsung.com (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTPA id <0LGA000WM4SF0Y@mmp1.samsung.com>; Tue, 08 Feb 2011 12:39:06 +0900 (KST) Date: Tue, 08 Feb 2011 09:07:15 +0530 From: thomas.abraham@linaro.org Subject: [PATCH] ARM: S5P: Fix length of memory resource definition for UART devices To: linaro-dev@lists.linaro.org Cc: nicolas.pitre@linaro.org, patches@linaro.org, kgene.kim@samsung.com, Thomas Abraham Message-id: <1297136235-25915-1-git-send-email-thomas.abraham@linaro.org> X-Mailer: git-send-email 1.6.6.rc2 Content-transfer-encoding: 7BIT From: Thomas Abraham 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 --- 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(-) diff --git a/arch/arm/mach-s5p6442/include/mach/map.h b/arch/arm/mach-s5p6442/include/mach/map.h index 203dd5a..59464f9 100644 --- a/arch/arm/mach-s5p6442/include/mach/map.h +++ b/arch/arm/mach-s5p6442/include/mach/map.h @@ -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) diff --git a/arch/arm/mach-s5p64x0/include/mach/map.h b/arch/arm/mach-s5p64x0/include/mach/map.h index a9365e5..c32c117 100644 --- a/arch/arm/mach-s5p64x0/include/mach/map.h +++ b/arch/arm/mach-s5p64x0/include/mach/map.h @@ -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) diff --git a/arch/arm/mach-s5pc100/include/mach/map.h b/arch/arm/mach-s5pc100/include/mach/map.h index ccbe6b7..f999021 100644 --- a/arch/arm/mach-s5pc100/include/mach/map.h +++ b/arch/arm/mach-s5pc100/include/mach/map.h @@ -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 */ diff --git a/arch/arm/mach-s5pv210/include/mach/map.h b/arch/arm/mach-s5pv210/include/mach/map.h index 1dd5883..89b4f0b 100644 --- a/arch/arm/mach-s5pv210/include/mach/map.h +++ b/arch/arm/mach-s5pv210/include/mach/map.h @@ -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 */ diff --git a/arch/arm/mach-s5pv310/include/mach/map.h b/arch/arm/mach-s5pv310/include/mach/map.h index 901657f..5235024 100644 --- a/arch/arm/mach-s5pv310/include/mach/map.h +++ b/arch/arm/mach-s5pv310/include/mach/map.h @@ -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 */