efi: move x86 clocksource to device/driver
so we can dynamicly register the device

As we may need to use HW IP for clocksource.

As on EFI we could use Timestamp GUID if present (Not often the case as it's
not even enabled by default on any Target on EDK II not even OVMF)

Or if we choose we could use a Simulated Timestamp driver that work on Event
(Add Later)

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 8972eb7 commit da11bd9d6028b811732e98bc8cbf3e00b7a1f2b3
@Jean-Christophe PLAGNIOL-VILLARD Jean-Christophe PLAGNIOL-VILLARD authored on 3 Mar 2017
Sascha Hauer committed on 9 Mar 2017
Showing 7 changed files
View
arch/x86/Kconfig
View
arch/x86/mach-efi/Makefile
View
arch/x86/mach-efi/clocksource.c 0 → 100644
View
drivers/clocksource/Kconfig
View
drivers/clocksource/Makefile
View
drivers/clocksource/efi.c 100644 → 0
View
drivers/clocksource/efi_x86.c 0 → 100644