arm/imx: remove cpu_is_xxx() check from __imx_ioremap()
This patch adds an ioremap hook imx_ioremap to be called in __imx_ioremap(). Any soc that needs a customized ioremap other than __arm_ioremap() can set up this hook in soc specific call. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
#include <asm/mach-types.h>
|
||||
|
||||
void (*imx_idle)(void) = NULL;
|
||||
void __iomem *(*imx_ioremap)(unsigned long, size_t, unsigned int) = NULL;
|
||||
|
||||
static void __iomem *wdog_base;
|
||||
|
||||
|
Reference in New Issue
Block a user