From: Ben Dooks Date: Sun, 30 Sep 2007 08:59:15 +0000 (+0100) Subject: [ARM] 4587/1: S3C24XX: Add magic number before resume code X-Git-Tag: v2.6.24-rc1~1273^2~19 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c729af9f05c7aae06ce89a27f91e24b1482544d;p=linux-2.6 [ARM] 4587/1: S3C24XX: Add magic number before resume code 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 Signed-off-by: Russell King --- diff --git a/arch/arm/plat-s3c24xx/sleep.S b/arch/arm/plat-s3c24xx/sleep.S index d47113bbc3..a646cbe824 100644 --- a/arch/arm/plat-s3c24xx/sleep.S +++ b/arch/arm/plat-s3c24xx/sleep.S @@ -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