[ARM] 4587/1: S3C24XX: Add magic number before resume code
authorBen Dooks <ben-linux@fluff.org>
Sun, 30 Sep 2007 08:59:15 +0000 (09:59 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 12 Oct 2007 22:43:30 +0000 (23:43 +0100)
Add a magic number before the resume code so
that a bootloader can check that there is an
image to resume to.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/plat-s3c24xx/sleep.S

index d47113bbc34cee98eb8895f0475d7a1c278f46bc..a646cbe8244cfdd73add087b1b68f91bb831e85a 100644 (file)
@@ -96,6 +96,14 @@ resume_with_mmu:
 s3c2410_sleep_save_phys:
        .word   0
 
+
+       /* sleep magic, to allow the bootloader to check for an valid
+        * image to resume to. Must be the first word before the
+        * s3c2410_cpu_resume entry.
+       */
+
+       .word   0x2bedf00d
+
        /* s3c2410_cpu_resume
         *
         * resume code entry for bootloader to call