ARM: mx51: Implement code to allow mx51 to enter WFI
authorDinh Nguyen <Dinh.Nguyen@freescale.com>
Mon, 21 Mar 2011 21:30:37 +0000 (16:30 -0500)
committerSascha Hauer <s.hauer@pengutronix.de>
Wed, 23 Mar 2011 14:08:15 +0000 (15:08 +0100)
commit0adf882b6894cd150392400e9642787cf691016a
treed5ad57f8e1feec21d965b897601c2945b130bdab
parentb6e89b21824cc37ab19e0209a7754c74d237a123
ARM: mx51: Implement code to allow mx51 to enter WFI

Implement code for MX51 that allows the SoC to enter WFI when
arch_idle is called.

This patch is also necessary for correctly suspending the system.

Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-mx5/Makefile
arch/arm/mach-mx5/system.c [new file with mode: 0644]
arch/arm/plat-mxc/include/mach/mxc.h
arch/arm/plat-mxc/include/mach/system.h