Skip to contentSkip to conversation

SAMSUNG: make s5p common gpio functions

PATCH New Minkyu Kang 2 participants 2 messages Mar 24, 2010 – Mar 26, 2010 GPIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 SAMSUNG: make s5p common gpio functions

Because of s5pc1xx gpio is same as s5p seires SoC, move gpio functions to drvier/gpio/
and modify structure's name from s5pc1xx_ to s5p_.

---
 cpu/arm_cortexa8/s5pc1xx/Makefile   |    1 -
 cpu/arm_cortexa8/s5pc1xx/gpio.c     |  143 --------------------------
 drivers/gpio/Makefile               |    1 +
 drivers/gpio/s5p_gpio.c             |  143 ++++++++++++++++++++++++++
 include/asm-arm/arch-s5pc1xx/gpio.h |  192 +++++++++++++++++-----------------
 5 files changed, 240 insertions(+), 240 deletions(-)
 delete mode 100644 cpu/arm_cortexa8/s5pc1xx/gpio.c
 create mode 100644 drivers/gpio/s5p_gpio.c
cpu/arm_cortexa8/s5pc1xx/Makefile +0 -1
index 01c93fe..3785593 100644
@@ -33,7 +33,6 @@ SOBJS	+= reset.o
 
 COBJS	+= clock.o
 COBJS	+= cpu_info.o
-COBJS	+= gpio.o
 COBJS	+= sromc.o
 COBJS	+= timer.o
 
cpu/arm_cortexa8/s5pc1xx/gpio.c deleted +0 -143

143 lines not on this page · raw message

drivers/gpio/Makefile +1 -0
index d966082..528ca2e 100644
@@ -29,6 +29,7 @@ COBJS-$(CONFIG_AT91_GPIO)	+= at91_gpio.o
 COBJS-$(CONFIG_KIRKWOOD_GPIO)	+= kw_gpio.o
 COBJS-$(CONFIG_MX31_GPIO)	+= mx31_gpio.o
 COBJS-$(CONFIG_PCA953X)		+= pca953x.o
+COBJS-$(CONFIG_S5PC1XX)		+= s5p_gpio.o
 
 COBJS	:= $(COBJS-y)
 SRCS 	:= $(COBJS:.o=.c)
drivers/gpio/s5p_gpio.c new file +143 -0

143 lines not on this page · raw message

include/asm-arm/arch-s5pc1xx/gpio.h +96 -96

210 lines not on this page · raw message

Signature · 1 line
1.5.4.3
#1 lore raw

PATCH 1/1 SAMSUNG: make s5p common gpio functions

Quoted 6 lines · Minkyu Kang

Because of s5pc1xx gpio is same as s5p seires SoC, move gpio functions to drvier/gpio/
and modify structure's name from s5pc1xx_ to s5p_.

---

Quoted 9 lines
?cpu/arm_cortexa8/s5pc1xx/Makefile ? | ? ?1 -
?cpu/arm_cortexa8/s5pc1xx/gpio.c ? ? | ?143 --------------------------
?drivers/gpio/Makefile ? ? ? ? ? ? ? | ? ?1 +
?drivers/gpio/s5p_gpio.c ? ? ? ? ? ? | ?143 ++++++++++++++++++++++++++
?include/asm-arm/arch-s5pc1xx/gpio.h | ?192 +++++++++++++++++-----------------

?5 files changed, 240 insertions(+), 240 deletions(-) ?delete mode 100644 cpu/arm_cortexa8/s5pc1xx/gpio.c ?create mode 100644 drivers/gpio/s5p_gpio.c

applied to u-boot-samsung

Minkyu Kang

Signature · 2 lines
from. prom.
www.promsoft.net