coreboot-kgpe-d16/payloads/libpayload/arch
Raul E Rangel 9fc7b8e973 libpayload/x86/delay: Make arch_ndelay call apic_delay if delay is long
This reduces power consumption on grunt by over 3W when sitting at the
depthcharge recovery screen.

BUG=b:109749762
TEST=Booted grunt in the recovery screen and made sure it continued to
work.

Change-Id: Id079c099ee4cf6a07724241af4400063f4551668
Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Reviewed-on: https://review.coreboot.org/28245
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Richard Spiegel <richard.spiegel@silverbackltd.com>
Reviewed-by: Julius Werner <jwerner@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2018-09-12 14:15:48 +00:00
..
arm Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
arm64 libpayload/arm64: Drop unused static array 2018-07-20 11:06:36 +00:00
mips libpayload: head.S: Avoid clearing BSS (and heap) again 2016-08-13 02:46:19 +02:00
x86 libpayload/x86/delay: Make arch_ndelay call apic_delay if delay is long 2018-09-12 14:15:48 +00:00