summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx2/generic.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2009-06-04 12:19:02 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2009-08-07 12:10:51 +0200
commitbe124c94279edf4306798100f120c386947d8724 (patch)
tree98bc16285b121af329a4ce2c42e1690decf35e70 /arch/arm/mach-mx2/generic.c
parent8db5d1a64d36d0750b88c6c13feeaf0e00be2eb4 (diff)
downloadtalos-obmc-linux-be124c94279edf4306798100f120c386947d8724.tar.gz
talos-obmc-linux-be124c94279edf4306798100f120c386947d8724.zip
system.c: runtime base address
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx2/generic.c')
-rw-r--r--arch/arm/mach-mx2/generic.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-mx2/generic.c b/arch/arm/mach-mx2/generic.c
index 169372f69d8f..bdc5a6e67be0 100644
--- a/arch/arm/mach-mx2/generic.c
+++ b/arch/arm/mach-mx2/generic.c
@@ -72,6 +72,7 @@ static struct map_desc mxc_io_desc[] __initdata = {
void __init mx21_map_io(void)
{
mxc_set_cpu_type(MXC_CPU_MX21);
+ mxc_arch_reset_init(IO_ADDRESS(WDOG_BASE_ADDR));
iotable_init(mxc_io_desc, ARRAY_SIZE(mxc_io_desc));
}
@@ -79,6 +80,7 @@ void __init mx21_map_io(void)
void __init mx27_map_io(void)
{
mxc_set_cpu_type(MXC_CPU_MX27);
+ mxc_arch_reset_init(IO_ADDRESS(WDOG_BASE_ADDR));
iotable_init(mxc_io_desc, ARRAY_SIZE(mxc_io_desc));
}
OpenPOWER on IntegriCloud