S3C64XX: Add MEM_SYS_CFG register definition.
Subsystems (4)
PATCH 2/7 S3C64XX: Add MEM_SYS_CFG register definition.
This patch adds the definition of MEM_SYS_CFG register for S3C64xx platform.
Signed-off-by Abhilash Kesavan <[email protected]>
Signed-off-by Thomas Abraham <[email protected]>
--- arch/arm/plat-s3c64xx/include/plat/regs-clock.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
arch/arm/plat-s3c64xx/include/plat/regs-clock.h +3 -0
@@ -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)
Signature · 1 line
1.5.3.4
PATCH 2/7 S3C64XX: Add MEM_SYS_CFG register definition.
Quoted 14 lines · Thomas Abraham
This patch adds the definition of
MEM_SYS_CFGregister for S3C64xx platform.Signed-off-by Abhilash Kesavan <[email protected]>Signed-off-by Thomas Abraham <[email protected]>--- arch/arm/plat-s3c64xx/include/plat/regs-clock.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)arch/arm/plat-s3c64xx/include/plat/regs-clock.h +0
-0
arch/arm/plat-s3c64xx/include/plat/regs-clock.h line 19
Quoted 5 lines
arch/arm/plat-s3c64xx/include/plat/regs-clock.h +2
-0@@ -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?
Signature · 4 lines
Ben Q: What's a light-year? A: One-third less calories than a regular year.
PATCH 2/7 S3C64XX: Add MEM_SYS_CFG register definition.
Quoted 18 lines · Ben Dooks
Quoted 17 lines · Thomas Abraham
This patch adds the definition of
MEM_SYS_CFGregister for S3C64xx platform.Signed-off-by Abhilash Kesavan <[email protected]>Signed-off-by Thomas Abraham <[email protected]>---
arch/arm/plat-s3c64xx/include/plat/regs-clock.h | 3 +++1 files changed, 3 insertions(+), 0 deletions(-)arch/arm/plat-s3c64xx/include/plat/regs-clock.h +0
-0@@ -15,6 +15,8 @@ #ifndef __PLAT_REGS_CLOCK_H #define __PLAT_REGS_CLOCK_H __FILE__
Quoted 5 lines
arch/arm/plat-s3c64xx/include/plat/regs-clock.h line 19
Quoted 2 lines
arch/arm/plat-s3c64xx/include/plat/regs-clock.h +2
-0+#include <plat/map-base.h> +Why are you adding <
plat/map-base.h> here?
I will remove it. That was a mistake.