cpu/amd/agesa/family15tn: Add udelay implementation for SMM

Hardware / Coreboot - Alexandru Gagniuc [gmail.com] - 16 April 2014 16:42 UTC

This is a small implementation which uses only MSRs and rdtsc, without relying on northbridge or other system hardware. It's SMM safe in that it only reads registers, and doesn't modify the state of the hardware.

Change-Id: Ifa02ca73455b382f830c9b30b80b4f1bb18706b4

065b7da cpu/amd/agesa/family15tn: Add udelay implementation for SMM
src/cpu/amd/agesa/family15tn/Makefile.inc | 2 ++
src/cpu/amd/agesa/family15tn/udelay.c | 45 +++++++++++++++++++++++++++++
2 files changed, 47 insertions(+)

Upstream: review.coreboot.org


  • Share