summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c2410
diff options
context:
space:
mode:
authorVasily Khoruzhick <anarsoul@gmail.com>2010-05-11 09:55:09 +0300
committerBen Dooks <ben-linux@fluff.org>2010-05-12 09:19:24 +0900
commitc4761b69f4c3bd2f6e62d9cba6d78b5fd4b24203 (patch)
tree460a893abfd365c31842b00823c7f7f1cb49a02f /arch/arm/mach-s3c2410
parentc394f17799523fe4bc92d173b3d9ac2d240c76a2 (diff)
downloadblackbird-op-linux-c4761b69f4c3bd2f6e62d9cba6d78b5fd4b24203.tar.gz
blackbird-op-linux-c4761b69f4c3bd2f6e62d9cba6d78b5fd4b24203.zip
ARM: S3C24XX: Locate kernel at 0x30108000 if PM_H1940 is enabled
If PM_H1940 is enabled, kernel _must_ be located upper then 0x30008000, because this area (0x30000000-0x30100000) can be used by bootloader. If kernel is located at 0x30008000, bootloader will corrupt kernel's code during resume. Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/mach-s3c2410')
-rw-r--r--arch/arm/mach-s3c2410/Makefile.boot10
1 files changed, 7 insertions, 3 deletions
diff --git a/arch/arm/mach-s3c2410/Makefile.boot b/arch/arm/mach-s3c2410/Makefile.boot
index 7dab2a0325b5..58c1dd7f8e1d 100644
--- a/arch/arm/mach-s3c2410/Makefile.boot
+++ b/arch/arm/mach-s3c2410/Makefile.boot
@@ -1,3 +1,7 @@
- zreladdr-y := 0x30008000
-params_phys-y := 0x30000100
-
+ifeq ($(CONFIG_PM_H1940),y)
+ zreladdr-y := 0x30108000
+ params_phys-y := 0x30100100
+else
+ zreladdr-y := 0x30008000
+ params_phys-y := 0x30000100
+endif
OpenPOWER on IntegriCloud