diff options
| author | Ben Dooks <ben-linux@fluff.org> | 2007-09-30 04:59:15 -0400 |
|---|---|---|
| committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-10-12 18:43:30 -0400 |
| commit | 6c729af9f05c7aae06ce89a27f91e24b1482544d (patch) | |
| tree | 982bd76f17413fbf13ff787e92d3c3050bf876e9 | |
| parent | 987240cc01faf90100ace8f554ac145c2dfb085c (diff) | |
[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 <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
| -rw-r--r-- | arch/arm/plat-s3c24xx/sleep.S | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/plat-s3c24xx/sleep.S b/arch/arm/plat-s3c24xx/sleep.S index d47113bbc34c..a646cbe8244c 100644 --- a/arch/arm/plat-s3c24xx/sleep.S +++ b/arch/arm/plat-s3c24xx/sleep.S | |||
| @@ -96,6 +96,14 @@ resume_with_mmu: | |||
| 96 | s3c2410_sleep_save_phys: | 96 | s3c2410_sleep_save_phys: |
| 97 | .word 0 | 97 | .word 0 |
| 98 | 98 | ||
| 99 | |||
| 100 | /* sleep magic, to allow the bootloader to check for an valid | ||
| 101 | * image to resume to. Must be the first word before the | ||
| 102 | * s3c2410_cpu_resume entry. | ||
| 103 | */ | ||
| 104 | |||
| 105 | .word 0x2bedf00d | ||
| 106 | |||
| 99 | /* s3c2410_cpu_resume | 107 | /* s3c2410_cpu_resume |
| 100 | * | 108 | * |
| 101 | * resume code entry for bootloader to call | 109 | * resume code entry for bootloader to call |
