summaryrefslogtreecommitdiff
path: root/payloads/libpayload/crypto
diff options
context:
space:
mode:
authorDavid Hendricks <dhendrix@chromium.org>2012-11-30 13:56:31 -0800
committerDavid Hendricks <dhendrix@chromium.org>2012-11-30 23:20:54 +0100
commit4b6be985aae8bff84ae442e7be7669e93694fa1e (patch)
tree879ad172b5ee50ca66e2d72197f97b74f19354ae /payloads/libpayload/crypto
parent0a92f89f5dfa559eb012015235209e53e87e128d (diff)
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>
Diffstat (limited to 'payloads/libpayload/crypto')
-rw-r--r--payloads/libpayload/crypto/sha1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/crypto/sha1.c b/payloads/libpayload/crypto/sha1.c
index 8d849db71d..3c97bf1895 100644
--- a/payloads/libpayload/crypto/sha1.c
+++ b/payloads/libpayload/crypto/sha1.c
@@ -30,7 +30,7 @@ typedef unsigned int u_int;
/* Moved from libpayload.h */
-#ifdef CONFIG_TARGET_I386
+#ifdef CONFIG_ARCH_X86
#define BYTE_ORDER LITTLE_ENDIAN
#else
#define BYTE_ORDER BIG_ENDIAN