Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b6a60413 authored by Ben Dooks's avatar Ben Dooks
Browse files

ARM: SAMSUNG: Move device definitions in plat-samsung



Move all the platform device definitions from plat-s3c into plat-samsung

Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
parent 9745626b
Loading
Loading
Loading
Loading
+0 −42
Original line number Original line Diff line number Diff line
@@ -170,46 +170,4 @@ config S3C_DMA
	help
	help
	  Internal configuration for S3C DMA core
	  Internal configuration for S3C DMA core


# device definitions to compile in

config S3C_DEV_HSMMC
	bool
	help
	  Compile in platform device definitions for HSMMC code

config S3C_DEV_HSMMC1
	bool
	help
	  Compile in platform device definitions for HSMMC channel 1

config S3C_DEV_HSMMC2
	bool
	help
	  Compile in platform device definitions for HSMMC channel 2

config S3C_DEV_I2C1
	bool
	help
	  Compile in platform device definitions for I2C channel 1

config S3C_DEV_FB
	bool
	help
	  Compile in platform device definition for framebuffer

config S3C_DEV_USB_HOST
	bool
	help
	  Compile in platform device definition for USB host.

config S3C_DEV_USB_HSOTG
	bool
	help
	  Compile in platform device definition for USB high-speed OtG

config S3C_DEV_NAND
	bool
	help
	  Compile in platform device definition for NAND controller

endif
endif
+0 −12
Original line number Original line Diff line number Diff line
@@ -29,15 +29,3 @@ obj-$(CONFIG_S3C2410_PM_CHECK) += pm-check.o
# PWM support
# PWM support


obj-$(CONFIG_HAVE_PWM)		+= pwm.o
obj-$(CONFIG_HAVE_PWM)		+= pwm.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-$(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
+42 −0
Original line number Original line Diff line number Diff line
@@ -19,4 +19,46 @@ config SAMSUNG_CLKSRC
	  Select the clock code for the clksrc implementation
	  Select the clock code for the clksrc implementation
	  used by newer systems such as the S3C64XX.
	  used by newer systems such as the S3C64XX.


# device definitions to compile in

config S3C_DEV_HSMMC
	bool
	help
	  Compile in platform device definitions for HSMMC code

config S3C_DEV_HSMMC1
	bool
	help
	  Compile in platform device definitions for HSMMC channel 1

config S3C_DEV_HSMMC2
	bool
	help
	  Compile in platform device definitions for HSMMC channel 2

config S3C_DEV_I2C1
	bool
	help
	  Compile in platform device definitions for I2C channel 1

config S3C_DEV_FB
	bool
	help
	  Compile in platform device definition for framebuffer

config S3C_DEV_USB_HOST
	bool
	help
	  Compile in platform device definition for USB host.

config S3C_DEV_USB_HSOTG
	bool
	help
	  Compile in platform device definition for USB high-speed OtG

config S3C_DEV_NAND
	bool
	help
	  Compile in platform device definition for NAND controller

endif
endif
+12 −0
Original line number Original line Diff line number Diff line
@@ -15,3 +15,15 @@ obj-y += clock.o
obj-y				+= pwm-clock.o
obj-y				+= pwm-clock.o


obj-$(CONFIG_SAMSUNG_CLKSRC)	+= clock-clksrc.o
obj-$(CONFIG_SAMSUNG_CLKSRC)	+= clock-clksrc.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-$(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
Loading