1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* linux/arch/arm/plat-s3c64xx/sleep.S 3 * 4 * Copyright 2008 Openmoko, Inc. 5 * Copyright 2008 Simtec Electronics 6 * Ben Dooks <ben@simtec.co.uk> 7 * http://armlinux.simtec.co.uk/ 8 * 9 * S3C64XX CPU sleep code 10 */ 11 12 #include <linux/linkage.h> 13 #include <asm/assembler.h> 14 #include "map.h" 15 16 #undef S3C64XX_VA_GPIO 17 #define S3C64XX_VA_GPIO (0x0) 18 19 #include "regs-gpio.h" 20 21 #define LL_UART (S3C_PA_UART + (0x400 * CONFIG 22 23 .text 24 25 /* Sleep magic, the word before the re 26 * bootloader can check for a resumeab 27 28 .word 0x2bedf00d 29 30 /* s3c_cpu_reusme 31 * 32 * This is the entry point, stored by 33 * requires to get the kernel runnign 34 * entered with no caches live and the 35 * restore the MMU and other basic CP 36 * the kernel C code to finish the res 37 */ 38 39 ENTRY(s3c_cpu_resume) 40 msr cpsr_c, #PSR_I_BIT | PSR_F_BIT 41 ldr r2, =LL_UART /* for 42 b cpu_resume
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.