4f2b617aff
Move the gpio.c code containing the core gpiolib and GPIO support to plat-samsung from plat-s3c as it is used by all current Samsung SoCs. Note, we didn't move this to gpiolib.c as it contains code that is not strictly for gpiolib support and the 4bit code is already called gpiolib.c so make the change easier by not renaming both files in one go. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
44 lines
982 B
Makefile
44 lines
982 B
Makefile
# arch/arm/plat-s3c64xx/Makefile
|
|
#
|
|
# Copyright 2009 Simtec Electronics
|
|
#
|
|
# Licensed under GPLv2
|
|
|
|
obj-y :=
|
|
obj-m :=
|
|
obj-n := dummy.o
|
|
obj- :=
|
|
|
|
# Objects we always build independent of SoC choice
|
|
|
|
obj-y += clock.o
|
|
obj-y += pwm-clock.o
|
|
obj-y += gpio.o
|
|
obj-y += gpio-config.o
|
|
|
|
obj-$(CONFIG_SAMSUNG_GPIOLIB_4BIT) += gpiolib.o
|
|
obj-$(CONFIG_SAMSUNG_CLKSRC) += clock-clksrc.o
|
|
|
|
obj-$(CONFIG_SAMSUNG_IRQ_UART) += irq-uart.o
|
|
obj-$(CONFIG_SAMSUNG_IRQ_VIC_TIMER) += irq-vic-timer.o
|
|
|
|
# ADC
|
|
|
|
obj-$(CONFIG_S3C_ADC) += adc.o
|
|
|
|
# devices
|
|
|
|
obj-$(CONFIG_S3C_DEV_HSMMC) += dev-hsmmc.o
|
|
obj-$(CONFIG_S3C_DEV_HSMMC1) += dev-hsmmc1.o
|
|
obj-$(CONFIG_S3C_DEV_HSMMC2) += dev-hsmmc2.o
|
|
obj-y += dev-i2c0.o
|
|
obj-$(CONFIG_S3C_DEV_I2C1) += dev-i2c1.o
|
|
obj-$(CONFIG_S3C_DEV_FB) += dev-fb.o
|
|
obj-y += dev-uart.o
|
|
obj-$(CONFIG_S3C_DEV_USB_HOST) += dev-usb.o
|
|
obj-$(CONFIG_S3C_DEV_USB_HSOTG) += dev-usb-hsotg.o
|
|
obj-$(CONFIG_S3C_DEV_NAND) += dev-nand.o
|
|
|
|
# PM support
|
|
|
|
obj-$(CONFIG_PM) += pm-gpio.o
|