SAMSUNG: make s5p common gpio functions
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_.
Signed-off-by Minkyu Kang <[email protected]>
--- 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
@@ -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
@@ -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
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 froms5pc1xx_tos5p_.Signed-off-by Minkyu Kang <[email protected]>---
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 100644drivers/gpio/s5p_gpio.c
applied to u-boot-samsung
Minkyu Kang
Signature · 2 lines
from. prom. www.promsoft.net