ARMV7: S5P: make s5p-common for sharing the code between s5pc1xx and s5pc2xx
Subsystems (2)
PATCH v2 1/2 ARMV7: S5P: make s5p-common for sharing the code between s5pc1xx and s5pc2xx
This patch adds basic support for s5pc210.
s5p-common will be used by all of s5p SoCs.
---
v2: no change
Makefile | 7 + arch/arm/cpu/armv7/s5p-common/Makefile | 46 +++++++ arch/arm/cpu/armv7/s5p-common/cpu_info.c | 57 +++++++++ arch/arm/cpu/armv7/s5p-common/timer.c | 192 ++++++++++++++++++++++++++++++ arch/arm/cpu/armv7/s5pc1xx/Makefile | 2 - arch/arm/cpu/armv7/s5pc1xx/cpu_info.c | 57 --------- arch/arm/cpu/armv7/s5pc1xx/timer.c | 192 ------------------------------ 7 files changed, 302 insertions(+), 251 deletions(-) create mode 100644 arch/arm/cpu/armv7/s5p-common/Makefile create mode 100644 arch/arm/cpu/armv7/s5p-common/cpu_info.c create mode 100644 arch/arm/cpu/armv7/s5p-common/timer.c delete mode 100644 arch/arm/cpu/armv7/s5pc1xx/cpu_info.c delete mode 100644 arch/arm/cpu/armv7/s5pc1xx/timer.c
Makefile +7 -0
@@ -253,6 +253,13 @@ ifeq ($(SOC),omap4) LIBS += $(CPUDIR)/omap-common/libomap-common.a endif +ifeq ($(SOC),s5pc1xx) +LIBS += $(CPUDIR)/s5p-common/libs5p-common.a +endif +ifeq ($(SOC),s5pc2xx) +LIBS += $(CPUDIR)/s5p-common/libs5p-common.a +endif + LIBS := $(addprefix $(obj),$(LIBS)) .PHONY : $(LIBS) $(TIMESTAMP_FILE) $(VERSION_FILE)
arch/arm/cpu/armv7/s5p-common/Makefile new file +46 -0
46 lines not on this page · raw message
arch/arm/cpu/armv7/s5p-common/cpu_info.c new file +57 -0
57 lines not on this page · raw message
arch/arm/cpu/armv7/s5p-common/timer.c new file +192 -0
192 lines not on this page · raw message
arch/arm/cpu/armv7/s5pc1xx/Makefile +0 -2
@@ -32,9 +32,7 @@ SOBJS = cache.o SOBJS += reset.o COBJS += clock.o -COBJS += cpu_info.o COBJS += sromc.o -COBJS += timer.o SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) OBJS := $(addprefix $(obj),$(COBJS) $(SOBJS))
arch/arm/cpu/armv7/s5pc1xx/cpu_info.c deleted +0 -57
57 lines not on this page · raw message
arch/arm/cpu/armv7/s5pc1xx/timer.c deleted +0 -192
192 lines not on this page · raw message
Signature · 1 line
1.7.0.4
PATCH v2 1/2 ARMV7: S5P: make s5p-common for sharing the code between s5pc1xx and s5pc2xx
Quoted 15 lines · Minkyu Kang
This patch adds basic support for s5pc210.
s5p-common will be used by all of s5p SoCs.Signed-off-by Minkyu Kang <[email protected]>Signed-off-by Kyungmin Park <[email protected]>---
v2: no change?Makefile ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? ?7 + ?arch/arm/cpu/armv7/s5p-common/Makefile ? | ? 46 +++++++ ?arch/arm/cpu/armv7/s5p-common/cpu_info.c | ? 57 +++++++++ ?arch/arm/cpu/armv7/s5p-common/timer.c ? ?| ?192 ++++++++++++++++++++++++++++++ ?arch/arm/cpu/armv7/s5pc1xx/Makefile ? ? ?| ? ?2 - ?arch/arm/cpu/armv7/s5pc1xx/cpu_info.c ? ?| ? 57 --------- ?arch/arm/cpu/armv7/s5pc1xx/timer.c ? ? ? | ?192 ------------------------------
Quoted 7 lines
?7 files changed, 302 insertions(+), 251 deletions(-) ?create mode 100644
arch/arm/cpu/armv7/s5p-common/Makefile?create mode 100644arch/arm/cpu/armv7/s5p-common/cpu_info.c?create mode 100644arch/arm/cpu/armv7/s5p-common/timer.c?delete mode 100644arch/arm/cpu/armv7/s5pc1xx/cpu_info.c?delete mode 100644arch/arm/cpu/armv7/s5pc1xx/timer.c
applied to u-boot-samsung
Signature · 2 lines
from. prom. www.promsoft.net