Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 208775
b: refs/heads/master
c: d7f1e82
h: refs/heads/master
i:
  208773: 9670c36
  208771: 537d122
  208767: 79798e2
v: v3
  • Loading branch information
Jongpill Lee authored and Kukjin Kim committed Aug 5, 2010
1 parent 1a28ecc commit 503e4fc
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c8def0857f93413db795ce3586bcc3c3eaae7088
refs/heads/master: d7f1e82ac982dead64d2b3825b7d33db3023a514
5 changes: 5 additions & 0 deletions trunk/arch/arm/plat-s5p/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,11 @@ static struct map_desc s5p_iodesc[] __initdata = {
.pfn = __phys_to_pfn(S5P_PA_GPIO),
.length = SZ_4K,
.type = MT_DEVICE,
}, {
.virtual = (unsigned long)S3C_VA_WATCHDOG,
.pfn = __phys_to_pfn(S3C_PA_WDT),
.length = SZ_4K,
.type = MT_DEVICE,
},
};

Expand Down
24 changes: 24 additions & 0 deletions trunk/arch/arm/plat-s5p/include/plat/system-reset.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/* linux/arch/arm/plat-s5p/include/plat/system-reset.h
*
* Copyright (c) 2010 Samsung Electronics Co., Ltd.
* http://www.samsung.com
*
* Based on arch/arm/mach-s3c2410/include/mach/system-reset.h
*
* S5P - System define for arch_reset()
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/

#include <plat/watchdog-reset.h>

static void arch_reset(char mode, const char *cmd)
{
/* Perform reset using Watchdog reset.
* SWRESET support will be added later.
*/

arch_wdt_reset();
}

0 comments on commit 503e4fc

Please sign in to comment.