Skip to contentSkip to conversation

S5PC100: Function to configure the SROMC registers.

PATCH Superseded ch.naveen at samsung.com 3 participants 3 messages Feb 19, 2010 – Feb 23, 2010

v3 of 7 Superseded Latest is v7 →

lore
Share & tools
lore
#0 lore raw

PATCH v3 2/3 S5PC100: Function to configure the SROMC registers.

From: Naveen Krishna CH <[email protected]>

Nand Flash, Ethernet, other features might need to configure the SROMC registers accordingly.
The config_sromc() functions helps with this.

---
Changes since V1:

1. Funtion config_sromc() is renamed to s5pc1xx_config_sromc(). Comments from Minkyu Kang are fixed

Changes since V2:

1.cpu_is_s5pc100() function is used instead of Macros.

 cpu/arm_cortexa8/s5pc1xx/Makefile  |    1 +
 cpu/arm_cortexa8/s5pc1xx/sromc.c   |   53 ++++++++++++++++++++++++++++++++++++
 include/asm-arm/arch-s5pc1xx/smc.h |    3 ++
 3 files changed, 57 insertions(+), 0 deletions(-)
 create mode 100644 cpu/arm_cortexa8/s5pc1xx/sromc.c
cpu/arm_cortexa8/s5pc1xx/Makefile +1 -0
index 4f922e6..0a6a9b4 100644
@@ -34,6 +34,7 @@ SOBJS	+= reset.o
 COBJS	+= clock.o
 COBJS	+= cpu_info.o
 COBJS	+= timer.o
+COBJS	+= sromc.o
 
 SRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
 OBJS	:= $(addprefix $(obj),$(COBJS) $(SOBJS))
cpu/arm_cortexa8/s5pc1xx/sromc.c new file +53 -0

53 lines not on this page · raw message

include/asm-arm/arch-s5pc1xx/smc.h +3 -0
index e1a5399..88f4ffe 100644
@@ -47,4 +47,7 @@ struct s5pc1xx_smc {
 };
 #endif	/* __ASSEMBLY__ */
 
+/* Configure the Band Width and Bank Control Regs for required SROMC Bank */
+void s5pc1xx_config_sromc(u32 srom_bank, u32 smc_bw_conf, u32 smc_bc_conf);
+
 #endif /* __ASM_ARCH_SMC_H_ */
Signature · 1 line
1.6.6
#1 lore raw

PATCH v3 2/3 S5PC100: Function to configure the SROMC registers.

Dear Naveen Krishna CH,

Quoted 28 lines · On 19 February 2010 19:23, <[email protected]> wrote:

From: Naveen Krishna CH <[email protected]>

Nand Flash, Ethernet, other features might need to configure the SROMC registers accordingly.
The config_sromc() functions helps with this.

---
Changes since V1:

1. Funtion config_sromc() is renamed to s5pc1xx_config_sromc(). Comments from Minkyu Kang are fixed

Changes since V2:

1.cpu_is_s5pc100() function is used instead of Macros.

?cpu/arm_cortexa8/s5pc1xx/Makefile ?| ? ?1 +
?cpu/arm_cortexa8/s5pc1xx/sromc.c ? | ? 53 ++++++++++++++++++++++++++++++++++++
?include/asm-arm/arch-s5pc1xx/smc.h | ? ?3 ++

?3 files changed, 57 insertions(+), 0 deletions(-) ?create mode 100644 cpu/arm_cortexa8/s5pc1xx/sromc.c

cpu/arm_cortexa8/s5pc1xx/Makefile +0 -0
index 4f922e6..0a6a9b4 100644
@@ -34,6 +34,7 @@ SOBJS += reset.o
Quoted 4 lines

?COBJS ?+= clock.o
?COBJS ?+= cpu_info.o
?COBJS ?+= timer.o
+COBJS ?+= sromc.o

Please sort this lists alphabetically.

Thanks
Minkyu Kang

Signature · 2 lines
from. prom.
www.promsoft.net
#2 lore raw

PATCH v3 2/3 S5PC100: Function to configure the SROMC registers.

Hi Kang,

Thanks for your comments.

Let me know in case of other comments.
I will incorporate them in v4 patch set and send this evening.

Quoted 50 lines · Minkyu Kang

Dear Naveen Krishna CH,

Quoted 13 lines · On 19 February 2010 19:23, <[email protected]> wrote:

From: Naveen Krishna CH <[email protected]>

Nand Flash, Ethernet, other features might need to configure the SROMC registers accordingly.
The config_sromc() functions helps with this.

---
Changes since V1:

1. Funtion config_sromc() is renamed to s5pc1xx_config_sromc(). Comments from Minkyu Kang are fixed

Quoted 6 lines

Changes since V2:

1.cpu_is_s5pc100() function is used instead of Macros.

 cpu/arm_cortexa8/s5pc1xx/Makefile  |    1 +
 cpu/arm_cortexa8/s5pc1xx/sromc.c   |   53

++++++++++++++++++++++++++++++++++++

Review

Quoted 5 lines
 include/asm-arm/arch-s5pc1xx/smc.h |    3 ++
 3 files changed, 57 insertions(+), 0 deletions(-)
 create mode 100644 cpu/arm_cortexa8/s5pc1xx/sromc.c
(quoted diff) +0 -0

b/cpu/arm_cortexa8/s5pc1xx/Makefile

cpu/arm_cortexa8/s5pc1xx/Makefile SOBJS += reset.o · line 37

Quoted 8 lines

index 4f922e6..0a6a9b4 100644

cpu/arm_cortexa8/s5pc1xx/Makefile +1 -0
@@ -34,6 +34,7 @@ SOBJS += reset.o
 COBJS  += clock.o
 COBJS  += cpu_info.o
 COBJS  += timer.o
+COBJS  += sromc.o

Please sort this lists alphabetically.

Thanks
Minkyu Kang
--
from. prom.
www.promsoft.net
_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Signature · 2 lines
Shine bright,
(: Naveen Krishna Ch :)