system.c: runtime base address
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
Reference in New Issue
Block a user