Guenter Roeck
be3b0f9bab
clocksource/imx: Fix boot with non-DT systems
...
Commit 6dd747825b
("ARM: imx: move timer resources into a structure")
moved initialization parameters into a data structure, but neglected to set
the irq field in that data structure for non-DT boots. This causes the system
to hang if a non-DT boot is attempted.
Fixes: 6dd747825b
("ARM: imx: move timer resources into a structure")
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Cc: Shawn Guo <shawn.guo@linaro.org >
Cc: Daniel Lezcano <daniel.lezcano@linaro.org >
Link: http://lkml.kernel.org/r/1440066441-13930-1-git-send-email-linux@roeck-us.net
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
2015-08-20 17:22:56 +02:00
Philippe Reynes
747d34e731
clocksource/imx: Define clocksource for mx27
...
The rework of the imx clocksource driver missed to add an entry for
imx27 which results in a boot failure on those machines.
Add the proper CLOCKSOURCE_OF_DECLARE() entry for imx27 and map it to
the imx21 init.
Fixes: bef11c881b
'ARM: imx: initialize gpt device type for DT boot'
Signed-off-by: Philippe Reynes <tremyfr@gmail.com >
Cc: linux-arm-kernel@lists.infradead.org
Cc: daniel.lezcano@linaro.org
Cc: fabio.estevam@freescale.com
Cc: shawnguo@kernel.org
Cc: kernel@pengutronix.de
Link: http://lkml.kernel.org/r/1435439504-406-1-git-send-email-tremyfr@gmail.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
2015-07-07 10:44:45 +02:00
Shawn Guo
cc013fa8dc
clocksource: timer-imx-gpt: remove include of <asm/mach/time.h>
...
The include of <asm/mach/time.h> is not needed at all, and causes build
error in some cases. Remove it.
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au >
Signed-off-by: Shawn Guo <shawn.guo@linaro.org >
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org >
2015-06-03 14:52:30 +08:00
Shawn Guo
bea5af41dd
ARM: imx: move timer driver into drivers/clocksource
...
After the cleanup on imx timer driver, now it's ready to be moved into
drivers/clocksource/. Let's do it.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org >
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org >
2015-06-03 14:52:30 +08:00