Skip to content

Commit

Permalink
ARM: mach-s3c2410: remove memory.h
Browse files Browse the repository at this point in the history
This also removes the mach/s3c2400 version which was probably never used
due to the fact that we have this line in arch/arm/Makefile:

machine-$(CONFIG_ARCH_S3C2410)          := s3c2410 s3c2400 [...]

This is later used to construct the search path for:

The compiler would be looking into mach-s3c2410 and picking up this
version first.  Any config that was actually expecting the mach-s3c2400
version was therefore producing a broken kernel binary.  Not relying on
any of them anymore would fix that issue.

Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
  • Loading branch information
Nicolas Pitre authored and Nicolas Pitre committed Oct 13, 2011
1 parent 8cfc1ef commit 8b5da2d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 36 deletions.
1 change: 1 addition & 0 deletions arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -711,6 +711,7 @@ config ARCH_S3C2410
select CLKDEV_LOOKUP
select ARCH_USES_GETTIMEOFFSET
select HAVE_S3C2410_I2C if I2C
select NO_MACH_MEMORY_H
help
Samsung S3C2410X CPU based systems, such as the Simtec Electronics
BAST (<http://www.simtec.co.uk/products/EB110ITX/>), the IPAQ 1940 or
Expand Down
20 changes: 0 additions & 20 deletions arch/arm/mach-s3c2400/include/mach/memory.h

This file was deleted.

16 changes: 0 additions & 16 deletions arch/arm/mach-s3c2410/include/mach/memory.h

This file was deleted.

0 comments on commit 8b5da2d

Please sign in to comment.