Change TARGET_I386 to ARCH_X86

This renames TARGET_I386 to ARCH_X86 to make it more uniform with
other parts of the codebase, e.g. cbfs_core.h from cbfstool.

Change-Id: I1babcc941245ed1dde0478a21828766759373a42
Signed-off-by: David Hendricks <dhendrix@chromium.org>
Reviewed-on: http://review.coreboot.org/1961
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-by: Dave Frodin <dave.frodin@se-eng.com>
This commit is contained in:
David Hendricks
2012-11-30 13:56:31 -08:00
parent 0a92f89f5d
commit 4b6be985aa
9 changed files with 13 additions and 13 deletions

View File

@ -34,7 +34,7 @@
#include <libpayload-config.h>
#include <libpayload.h>
#ifdef CONFIG_TARGET_I386
#ifdef CONFIG_ARCH_X86
#include <arch/rdtsc.h>
#endif
@ -49,7 +49,7 @@ static struct {
#define TICKS_PER_SEC (cpu_khz * 1000)
#define TICKS_PER_USEC (cpu_khz / 1000)
#ifdef CONFIG_TARGET_I386
#ifdef CONFIG_ARCH_X86
static void update_clock(void)
{
u64 delta = rdtsc() - clock.ticks;