S5PC100: Function to configure the SROMC registers.
PATCH v7 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.
Changes since V3:
1. Comments from Minkyu Kang are fixed.
Changes since V4:
None
Changes since V5:
None
Changes since V6:
None
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
@@ -34,6 +34,7 @@ SOBJS += reset.o COBJS += clock.o COBJS += cpu_info.o COBJS += gpio.o +COBJS += sromc.o COBJS += timer.o SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
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
@@ -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
PATCH v7 2/3 S5PC100: Function to configure the SROMC registers.
Dear Naveen Krishna CH,
Quoted 26 lines · On 5 March 2010 17:15, <[email protected]> wrote:
From: Naveen Krishna CH <[email protected]>
Nand Flash, Ethernet, other features might need to configure the SROMC registers accordingly.
Theconfig_sromc()functions helps with this.Signed-off-by Naveen Krishna Ch <[email protected]>---
Changes since V1:1. Funtion
config_sromc()is renamed tos5pc1xx_config_sromc(). Comments from Minkyu Kang are fixedChanges since V2:
1.cpu_is_s5pc100() function is used instead of Macros.
Changes since V3:
1. Comments from Minkyu Kang are fixed.Changes since V4:
NoneChanges since V5:
None
Quoted 9 lines
Changes since V6:
None?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
applied to u-boot-samsung
Thanks
Minkyu Kang
Signature · 2 lines
from. prom. www.promsoft.net