]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
[ARM] pxa: PXA_SHARPSL_DETECT_MACH_ID to include head-sharpsl.S
authorEric Miao <eric.y.miao@gmail.com>
Wed, 23 Jun 2010 01:27:32 +0000 (09:27 +0800)
committerEric Miao <eric.y.miao@gmail.com>
Thu, 5 Aug 2010 06:32:23 +0000 (14:32 +0800)
With kexec-based kernel boot loader on Zaurus, the machine ID is
actually correctly passed, and head-sharpsl.S is not necessary.
Introduce PXA_SHARPSL_DETECT_MACH_ID, and include head-sharpsl.S
only when that's explicitly enabled.

Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
arch/arm/boot/compressed/Makefile
arch/arm/mach-pxa/Kconfig

index 53faa9063a035be790c3aef7c5f32c4f48eb8025..2ea1bfa40e1e930fd05292659a91ad7a564a2b0d 100644 (file)
@@ -36,7 +36,7 @@ ifeq ($(CONFIG_CPU_XSCALE),y)
 OBJS           += head-xscale.o
 endif
 
-ifeq ($(CONFIG_PXA_SHARPSL),y)
+ifeq ($(CONFIG_PXA_SHARPSL_DETECT_MACH_ID),y)
 OBJS           += head-sharpsl.o
 endif
 
index 14b9bc13500114269d19ca285e17a693dd5c2d56..2bd33ff7d5fc11201936fdfa4d2b72264c08555c 100644 (file)
@@ -458,6 +458,14 @@ config PXA_SHARPSL
          SL-C3000 (Spitz), SL-C3100 (Borzoi) or SL-C6000x (Tosa)
          handheld computer.
 
+config PXA_SHARPSL_DETECT_MACH_ID
+       bool "Detect machine ID at run-time in the decompressor"
+       depends on PXA_SHARPSL
+       help
+         Say Y here if you want the zImage decompressor to detect
+         the Zaurus machine ID at run-time. For latest kexec-based
+         boot loader, this is not necessary.
+
 config MACH_POODLE
        bool "Enable Sharp SL-5600 (Poodle) Support"
        depends on PXA_SHARPSL