S5P:SROM config code moved to s5p-common directory
PATCH 1/1 S5P:SROM config code moved to s5p-common directory
SROM config code is made common for S5P series of boards. smdkc100.c now refers to s5p-common/sromc.c for SROM related subroutines.
--- arch/arm/cpu/armv7/s5p-common/Makefile | 3 +- arch/arm/cpu/armv7/s5p-common/sromc.c | 49 ++++++++++++++++++++++++++ arch/arm/cpu/armv7/s5pc1xx/Makefile | 1 - arch/arm/cpu/armv7/s5pc1xx/sromc.c | 49 -------------------------- arch/arm/include/asm/arch-s5pc1xx/smc.h | 53 ----------------------------- arch/arm/include/asm/arch-s5pc1xx/sromc.h | 53 +++++++++++++++++++++++++++++ board/samsung/smdkc100/smdkc100.c | 4 +- 7 files changed, 106 insertions(+), 106 deletions(-) create mode 100644 arch/arm/cpu/armv7/s5p-common/sromc.c delete mode 100644 arch/arm/cpu/armv7/s5pc1xx/sromc.c delete mode 100644 arch/arm/include/asm/arch-s5pc1xx/smc.h create mode 100644 arch/arm/include/asm/arch-s5pc1xx/sromc.h
arch/arm/cpu/armv7/s5p-common/Makefile +2 -1
@@ -27,7 +27,8 @@ LIB = $(obj)libs5p-common.o COBJS-y += cpu_info.o COBJS-y += timer.o -COBJS-$(CONFIG_PWM) += pwm.o +COBJS-y += sromc.o +COBJS-$(CONFIG_PWM) += pwm.o SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) OBJS := $(addprefix $(obj),$(COBJS-y) $(SOBJS))
arch/arm/cpu/armv7/s5p-common/sromc.c new file +49 -0
49 lines not on this page · raw message
arch/arm/cpu/armv7/s5pc1xx/Makefile +0 -1
@@ -32,7 +32,6 @@ SOBJS = cache.o SOBJS += reset.o COBJS += clock.o -COBJS += sromc.o SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) OBJS := $(addprefix $(obj),$(COBJS) $(SOBJS))
arch/arm/cpu/armv7/s5pc1xx/sromc.c deleted +0 -49
49 lines not on this page · raw message
arch/arm/include/asm/arch-s5pc1xx/smc.h deleted +0 -53
53 lines not on this page · raw message
arch/arm/include/asm/arch-s5pc1xx/sromc.h new file +53 -0
53 lines not on this page · raw message
board/samsung/smdkc100/smdkc100.c +2 -2
@@ -24,7 +24,7 @@#include <common.h> #include <asm/io.h> -#include <asm/arch/smc.h> +#include <asm/arch/sromc.h> #include <asm/arch/gpio.h> #include <netdev.h>
@@ -50,7 +50,7 @@ static void smc9115_pre_init(void) | SMC_BC_TACP(0x6) | SMC_BC_PMC(0x0);/* Select and configure the SROMC bank */ -s5pc1xx_config_sromc (CONFIG_ENV_SROM_BANK , smc_bw_conf, smc_bc_conf); +s5p_config_sromc (CONFIG_ENV_SROM_BANK , smc_bw_conf, smc_bc_conf); }int board_init (void )
--
1.7.1
PATCH 1/1 S5P:SROM config code moved to s5p-common directory
Dear Chander Kashyap,
Quoted 4 lines · Chander Kashyap
SROM config code is made common for S5P series of boards.
smdkc100.cnow refers tos5p-common/sromc.cfor SROM related subroutines.
Quoted 8 lines
Signed-off-by Chander Kashyap <[email protected]>---
?arch/arm/cpu/armv7/s5p-common/Makefile ? ?| ? ?3 +- ?arch/arm/cpu/armv7/s5p-common/sromc.c ? ? | ? 49 ++++++++++++++++++++++++++ ?arch/arm/cpu/armv7/s5pc1xx/Makefile ? ? ? | ? ?1 - ?arch/arm/cpu/armv7/s5pc1xx/sromc.c ? ? ? ?| ? 49 -------------------------- ?arch/arm/include/asm/arch-s5pc1xx/smc.h ? | ? 53 ----------------------------- ?arch/arm/include/asm/arch-s5pc1xx/sromc.h | ? 53 +++++++++++++++++++++++++++++
Why you renamed this file?
Quoted 7 lines
?board/samsung/smdkc100/smdkc100.c ? ? ? ? | ? ?4 +- ?7 files changed, 106 insertions(+), 106 deletions(-) ?create mode 100644
arch/arm/cpu/armv7/s5p-common/sromc.c?delete mode 100644arch/arm/cpu/armv7/s5pc1xx/sromc.c?delete mode 100644arch/arm/include/asm/arch-s5pc1xx/smc.h?create mode 100644arch/arm/include/asm/arch-s5pc1xx/sromc.h
Thanks.
Minkyu Kang.
Signature · 2 lines
from. prom. www.promsoft.net
PATCH 1/1 S5P:SROM config code moved to s5p-common directory
In reply to Chander KashyapDear Chander Kashyap
Quoted 13 lines · Chander Kashyap
SROM config code is made common for S5P series of boards.
smdkc100.cnow refers tos5p-common/sromc.cfor SROM related subroutines.Signed-off-by Chander Kashyap <[email protected]>---
?arch/arm/cpu/armv7/s5p-common/Makefile ? ?| ? ?3 +- ?arch/arm/cpu/armv7/s5p-common/sromc.c ? ? | ? 49 ++++++++++++++++++++++++++ ?arch/arm/cpu/armv7/s5pc1xx/Makefile ? ? ? | ? ?1 - ?arch/arm/cpu/armv7/s5pc1xx/sromc.c ? ? ? ?| ? 49 -------------------------- ?arch/arm/include/asm/arch-s5pc1xx/smc.h ? | ? 53 ----------------------------- ?arch/arm/include/asm/arch-s5pc1xx/sromc.h | ? 53 +++++++++++++++++++++++++++++ ?board/samsung/smdkc100/smdkc100.c ? ? ? ? | ? ?4 +-
Quoted 6 lines
?7 files changed, 106 insertions(+), 106 deletions(-) ?create mode 100644
arch/arm/cpu/armv7/s5p-common/sromc.c?delete mode 100644arch/arm/cpu/armv7/s5pc1xx/sromc.c?delete mode 100644arch/arm/include/asm/arch-s5pc1xx/smc.h?create mode 100644arch/arm/include/asm/arch-s5pc1xx/sromc.h
applied to u-boot-samsung
Thanks
Minkyu Kang.
Signature · 2 lines
from. prom. www.promsoft.net
PATCH 1/1 S5P:SROM config code moved to s5p-common directory
In reply to Chander KashyapDear Chander Kashyap,
Quoted 5 lines · In message <[email protected]> you…
SROM config code is made common for S5P series of boards.
smdkc100.cnow refers tos5p-common/sromc.cfor SROM related subroutines.Signed-off-by Chander Kashyap <[email protected]>
It appears this is missing arch/arm/include/asm/arch-s5pc2xx/sromc.h
Please squash with patch submitted here:
05/17 Minkyu Kang [U-Boot] [PATCH] S5PC2XX: add the sromc header file
http://article.gmane.org/gmane.comp.boot-loaders.u-boot/99965
Best regards,
Wolfgang Denk
Signature · 6 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "The combination of a number of things to make existence worthwhile." "Yes, the philosophy of 'none,' meaning 'all.'" -- Spock and Lincoln, "The Savage Curtain", stardate 5906.4
PATCH 1/1 S5P:SROM config code moved to s5p-common directory
Dear Wolfgang Denk,
Quoted 7 lines · Wolfgang Denk
Dear Chander Kashyap,
Quoted 4 lines · In message <[email protected]> you…
SROM config code is made common for S5P series of boards.
smdkc100.cnow refers tos5p-common/sromc.cfor SROM related subroutines.
Quoted 8 lines
Quoted 1 line
Signed-off-by Chander Kashyap <[email protected]>It appears this is missing
arch/arm/include/asm/arch-s5pc2xx/sromc.hPlease squash with patch submitted here:
05/17 Minkyu Kang ? ? ? ?[U-Boot] [PATCH] S5PC2XX: add the sromc header file ? ? ? ? ? ? http://article.gmane.org/gmane.comp.boot-loaders.u-boot/99965
OK. done.
Thanks
Minkyu Kang
Signature · 2 lines
from. prom. www.promsoft.net