ARMv7: Factor out reusable timer_wait from sunxi/psci_sun7i.S
authorWang Dongsheng <dongsheng.wang@freescale.com>
Thu, 4 Jun 2015 04:01:08 +0000 (12:01 +0800)
committerYork Sun <yorksun@freescale.com>
Mon, 20 Jul 2015 18:44:38 +0000 (11:44 -0700)
commit972af2ab515fe0d0a39271966c9c6df0d9349f37
tree13b521e3e6303f298d0d9f498364dcd380e44986
parent49a5e42a780dadf69fcac177143b0c8619ec467b
ARMv7: Factor out reusable timer_wait from sunxi/psci_sun7i.S

timer_wait is moved from sunxi/psci_sun7i.S, and it can be converted
completely into a reusable armv7 generic timer. LS1021A will use it
as well.

Signed-off-by: Wang Dongsheng <dongsheng.wang@freescale.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: York Sun <yorksun@freescale.com>
arch/arm/cpu/armv7/sunxi/psci_sun6i.S
arch/arm/cpu/armv7/sunxi/psci_sun7i.S
arch/arm/include/asm/arch-armv7/generictimer.h [new file with mode: 0644]