MXC: rename mxc_map_io to architecture specific versions

This allows us to have more mapping functions for more than one
i.MX architecture in the kernel. As this is the earliest board
specific hook we have, also use it to set the cpu type.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer
2009-04-02 22:32:10 +02:00
parent 13e9f61235
commit cd4a05f9df
16 changed files with 39 additions and 18 deletions

View File

@ -37,7 +37,9 @@ static struct map_desc imx_io_desc[] __initdata = {
}
};
void __init mxc_map_io(void)
void __init mx1_map_io(void)
{
mxc_set_cpu_type(MXC_CPU_MX1);
iotable_init(imx_io_desc, ARRAY_SIZE(imx_io_desc));
}