firmware.c (c57d5621d2f2dc238f4b9c4d00b2a54187a75445) | firmware.c (054e6aa198b4bb42d059951e08f05147b64a79f9) |
---|---|
1/* 2 * Copyright (C) 2012 Samsung Electronics. 3 * Kyungmin Park <kyungmin.park@samsung.com> 4 * Tomasz Figa <t.figa@samsung.com> 5 * 6 * This program is free software,you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. --- 11 unchanged lines hidden (view full) --- 20#include <asm/hardware/cache-l2x0.h> 21#include <asm/suspend.h> 22 23#include <mach/map.h> 24 25#include "common.h" 26#include "smc.h" 27 | 1/* 2 * Copyright (C) 2012 Samsung Electronics. 3 * Kyungmin Park <kyungmin.park@samsung.com> 4 * Tomasz Figa <t.figa@samsung.com> 5 * 6 * This program is free software,you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. --- 11 unchanged lines hidden (view full) --- 20#include <asm/hardware/cache-l2x0.h> 21#include <asm/suspend.h> 22 23#include <mach/map.h> 24 25#include "common.h" 26#include "smc.h" 27 |
28#define EXYNOS_SLEEP_MAGIC 0x00000bad 29#define EXYNOS_AFTR_MAGIC 0xfcba0d10 | |
30#define EXYNOS_BOOT_ADDR 0x8 31#define EXYNOS_BOOT_FLAG 0xc 32 33static void exynos_save_cp15(void) 34{ 35 /* Save Power control and Diagnostic registers */ 36 asm ("mrc p15, 0, %0, c15, c0, 0\n" 37 "mrc p15, 0, %1, c15, c0, 1\n" --- 220 unchanged lines hidden --- | 28#define EXYNOS_BOOT_ADDR 0x8 29#define EXYNOS_BOOT_FLAG 0xc 30 31static void exynos_save_cp15(void) 32{ 33 /* Save Power control and Diagnostic registers */ 34 asm ("mrc p15, 0, %0, c15, c0, 0\n" 35 "mrc p15, 0, %1, c15, c0, 1\n" --- 220 unchanged lines hidden --- |