libpayload: allow x86 devices to provide non-tsc implementation
Make is so that a different timer source can be provided instead of TSC on x86 platforms. BUG=b:72378235,b:72170796 Change-Id: I6faeecf7624a5aa4e1af8862036f1fbd2f54eb51 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/23435 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-by: Furquan Shaikh <furquan@google.com>
This commit is contained in:
parent
51e4c1a76c
commit
610e2e6faf
|
@ -10,15 +10,14 @@
|
|||
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
## GNU General Public License for more details.
|
||||
|
||||
config TIMER_RDTSC
|
||||
bool
|
||||
default y
|
||||
depends on ARCH_X86
|
||||
|
||||
choice
|
||||
prompt "Timer driver"
|
||||
default TIMER_NONE
|
||||
depends on !ARCH_X86
|
||||
default TIMER_NONE if !ARCH_X86
|
||||
default TIMER_RDTSC if ARCH_X86
|
||||
|
||||
config TIMER_RDTSC
|
||||
bool "x86 rdtsc"
|
||||
depends on ARCH_X86
|
||||
|
||||
config TIMER_NONE
|
||||
bool "None"
|
||||
|
|
Loading…
Reference in New Issue