Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 149262
b: refs/heads/master
c: 543899f
h: refs/heads/master
v: v3
  • Loading branch information
Ben Dooks committed May 17, 2009
1 parent 37cbdd9 commit baffcc7
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3cba5ef862bc2c2a0cf2841d993bfb99b9a6c476
refs/heads/master: 543899f610799426babb5313682fd9c249e34677
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-s3c6400/include/mach/map.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@

#define S3C64XX_PA_FB (0x77100000)
#define S3C64XX_PA_USB_HSOTG (0x7C000000)
#define S3C64XX_PA_WATCHDOG (0x7E004000)
#define S3C64XX_PA_SYSCON (0x7E00F000)
#define S3C64XX_PA_TIMER (0x7F006000)
#define S3C64XX_PA_IIC0 (0x7F004000)
Expand Down
8 changes: 7 additions & 1 deletion trunk/arch/arm/mach-s3c6400/include/mach/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,20 @@
#ifndef __ASM_ARCH_SYSTEM_H
#define __ASM_ARCH_SYSTEM_H __FILE__

#include <plat/watchdog-reset.h>

static void arch_idle(void)
{
/* nothing here yet */
}

static void arch_reset(char mode, const char *cmd)
{
/* nothing here yet */
if (mode != 's')
arch_wdt_reset();

/* if all else fails, or mode was for soft, jump to 0 */
cpu_reset(0);
}

#endif /* __ASM_ARCH_IRQ_H */
1 change: 1 addition & 0 deletions trunk/arch/arm/plat-s3c/include/plat/watchdog-reset.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
*/

#include <plat/regs-watchdog.h>
#include <mach/map.h>

#include <linux/clk.h>
#include <linux/err.h>
Expand Down
5 changes: 5 additions & 0 deletions trunk/arch/arm/plat-s3c64xx/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,11 @@ static struct map_desc s3c_iodesc[] __initdata = {
.pfn = __phys_to_pfn(S3C64XX_PA_MODEM),
.length = SZ_4K,
.type = MT_DEVICE,
}, {
.virtual = (unsigned long)S3C_VA_WATCHDOG,
.pfn = __phys_to_pfn(S3C64XX_PA_WATCHDOG),
.length = SZ_4K,
.type = MT_DEVICE,
},
};

Expand Down

0 comments on commit baffcc7

Please sign in to comment.