Skip to content

Commit

Permalink
ARM: S3C244X: Move S3C2442 code into S3C2440
Browse files Browse the repository at this point in the history
Move the remaining S3C2442 code into mach-s3c2440 as there is only one
file currently in there and these two SoCs are very similar.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
  • Loading branch information
Ben Dooks committed Feb 1, 2010
1 parent 1f51bbf commit 916ee92
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 11 deletions.
12 changes: 12 additions & 0 deletions arch/arm/mach-s3c2440/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,18 @@ config CPU_S3C2440
help
Support for S3C2440 Samsung Mobile CPU based systems.

config CPU_S3C2442
bool
depends on ARCH_S3C2410
select CPU_ARM920T
select S3C2410_CLOCK
select S3C2410_GPIO
select S3C2410_PM if PM
select CPU_S3C244X
select CPU_LLSERIAL_S3C2440
help
Support for S3C2442 Samsung Mobile CPU based systems.

config S3C2440_DMA
bool
depends on ARCH_S3C2410 && CPU_S3C24405B
Expand Down
2 changes: 2 additions & 0 deletions arch/arm/mach-s3c2440/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ obj-n :=
obj- :=

obj-$(CONFIG_CPU_S3C2440) += s3c2440.o dsc.o
obj-$(CONFIG_CPU_S3C2442) += s3c2442.o

obj-$(CONFIG_CPU_S3C2440) += irq.o
obj-$(CONFIG_CPU_S3C2440) += clock.o
obj-$(CONFIG_S3C2440_DMA) += dma.o
Expand Down
File renamed without changes.
11 changes: 0 additions & 11 deletions arch/arm/mach-s3c2442/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,3 @@
#
# Licensed under GPLv2

config CPU_S3C2442
bool
depends on ARCH_S3C2410
select CPU_ARM920T
select S3C2410_CLOCK
select S3C2410_GPIO
select S3C2410_PM if PM
select CPU_S3C244X
select CPU_LLSERIAL_S3C2440
help
Support for S3C2442 Samsung Mobile CPU based systems.

0 comments on commit 916ee92

Please sign in to comment.