diff mbox

[2/7] S3C64XX: Add MEM_SYS_CFG register definition.

Message ID 1257051031-8074-1-git-send-email-thomas.ab@samsung.com
State Rejected
Delegated to: David Miller
Headers show

Commit Message

Thomas Abraham Nov. 1, 2009, 4:50 a.m. UTC
This patch adds the definition of MEM_SYS_CFG register for
S3C64xx platform.

Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com>
Signed-off-by: Thomas Abraham <thomas.ab@samsung.com>
---
 arch/arm/plat-s3c64xx/include/plat/regs-clock.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

Comments

Ben Dooks Nov. 1, 2009, 1:02 p.m. UTC | #1
On Sun, Nov 01, 2009 at 01:50:31PM +0900, Thomas Abraham wrote:
> This patch adds the definition of MEM_SYS_CFG register for
> S3C64xx platform.
> 
> Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com>
> Signed-off-by: Thomas Abraham <thomas.ab@samsung.com>
> ---
>  arch/arm/plat-s3c64xx/include/plat/regs-clock.h |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/plat-s3c64xx/include/plat/regs-clock.h b/arch/arm/plat-s3c64xx/include/plat/regs-clock.h
> index 2c3224c..ad0823e 100644
> --- a/arch/arm/plat-s3c64xx/include/plat/regs-clock.h
> +++ b/arch/arm/plat-s3c64xx/include/plat/regs-clock.h
> @@ -15,6 +15,8 @@
>  #ifndef __PLAT_REGS_CLOCK_H
>  #define __PLAT_REGS_CLOCK_H __FILE__
>  
> +#include <plat/map-base.h>
> +

Why are you adding <plat/map-base.h> here?
Thomas Abraham Nov. 2, 2009, 6:11 a.m. UTC | #2
On Sun, Nov 1, 2009 at 10:02 PM, Ben Dooks <ben-linux@fluff.org> wrote:
> On Sun, Nov 01, 2009 at 01:50:31PM +0900, Thomas Abraham wrote:
>> This patch adds the definition of MEM_SYS_CFG register for
>> S3C64xx platform.
>>
>> Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com>
>> Signed-off-by: Thomas Abraham <thomas.ab@samsung.com>
>> ---
>>  arch/arm/plat-s3c64xx/include/plat/regs-clock.h |    3 +++
>>  1 files changed, 3 insertions(+), 0 deletions(-)
>>
>> diff --git a/arch/arm/plat-s3c64xx/include/plat/regs-clock.h b/arch/arm/plat-s3c64xx/include/plat/regs-clock.h
>> index 2c3224c..ad0823e 100644
>> --- a/arch/arm/plat-s3c64xx/include/plat/regs-clock.h
>> +++ b/arch/arm/plat-s3c64xx/include/plat/regs-clock.h
>> @@ -15,6 +15,8 @@
>>  #ifndef __PLAT_REGS_CLOCK_H
>>  #define __PLAT_REGS_CLOCK_H __FILE__
>>
>> +#include <plat/map-base.h>
>> +
>
> Why are you adding <plat/map-base.h> here?
>

I will remove it. That was a mistake.
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/plat-s3c64xx/include/plat/regs-clock.h b/arch/arm/plat-s3c64xx/include/plat/regs-clock.h
index 2c3224c..ad0823e 100644
--- a/arch/arm/plat-s3c64xx/include/plat/regs-clock.h
+++ b/arch/arm/plat-s3c64xx/include/plat/regs-clock.h
@@ -15,6 +15,8 @@ 
 #ifndef __PLAT_REGS_CLOCK_H
 #define __PLAT_REGS_CLOCK_H __FILE__
 
+#include <plat/map-base.h>
+
 #define S3C_CLKREG(x)		(S3C_VA_SYS + (x))
 
 #define S3C_APLL_LOCK		S3C_CLKREG(0x00)
@@ -33,6 +33,7 @@ 
 #define S3C_PCLK_GATE		S3C_CLKREG(0x34)
 #define S3C_SCLK_GATE		S3C_CLKREG(0x38)
 #define S3C_MEM0_GATE		S3C_CLKREG(0x3C)
+#define S3C_MEM_SYS_CFG         S3C_CLKREG(0x120)
 
 /* CLKDIV0 */
 #define S3C6400_CLKDIV0_MFC_MASK	(0xf << 28)