summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Sanders <nsanders@chromium.org>2011-11-14 16:19:30 -0800
committerNick Sanders <nsanders@chromium.org>2011-11-14 16:38:11 -0800
commit52499b8f3c9db6e7bd948a48d3c7c7e49b722cf8 (patch)
treefd0fb47aca721632a7c433f7cdcfb385806a0984
parentbf5540eb1e277f8dfad11691311ef062870e7a9c (diff)
downloadvboot-52499b8f3c9db6e7bd948a48d3c7c7e49b722cf8.tar.gz
Revert "Add x86_64 architecture support"
This reverts commit fbf9de6b2ba3162a7183211872bd23ca52f58289 Mysterious ARM PFQ breakage Change-Id: I354630570900cd5c2180610acfa47422ff484fe6 Reviewed-on: https://gerrit.chromium.org/gerrit/11664 Reviewed-by: Nick Sanders <nsanders@chromium.org> Tested-by: Nick Sanders <nsanders@chromium.org>
-rw-r--r--Makefile4
-rw-r--r--firmware/arch/x86_64/include/biosincludes.h46
2 files changed, 0 insertions, 50 deletions
diff --git a/Makefile b/Makefile
index 19b91d52..7652bde8 100644
--- a/Makefile
+++ b/Makefile
@@ -38,10 +38,6 @@ CFLAGS ?= \
-mpreferred-stack-boundary=2 -mregparm=3 \
$(COMMON_FLAGS)
endif
-ifeq ($(FIRMWARE_ARCH), x86_64)
-CFLAGS ?= $(COMMON_FLAGS) \
- -fvisibility=hidden -fno-strict-aliasing -fomit-frame-pointer
-endif
CC ?= gcc
CXX ?= g++
diff --git a/firmware/arch/x86_64/include/biosincludes.h b/firmware/arch/x86_64/include/biosincludes.h
deleted file mode 100644
index 59bf931c..00000000
--- a/firmware/arch/x86_64/include/biosincludes.h
+++ /dev/null
@@ -1,46 +0,0 @@
-/* Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- *
- * X86 firmware platform-specific definitions
- */
-
-#ifndef __ARCH_X86_BIOSINCLUDES_H__
-#define __ARCH_X86_BIOSINCLUDES_H__
-
-typedef unsigned char uint8_t;
-typedef unsigned short int uint16_t;
-typedef unsigned int uint32_t;
-typedef unsigned long long uint64_t;
-typedef signed long long int64_t;
-typedef unsigned long size_t;
-
-#ifndef NULL
-#define NULL ((void*) 0)
-#endif
-
-#define UINT32_C(x) ((uint32_t) x)
-#define UINT64_C(x) ((uint64_t) x)
-#define PRIu64 "llu"
-extern void debug(const char *format, ...);
-
-#define POSSIBLY_UNUSED __attribute__((unused))
-
-#ifdef __STRICT_ANSI__
-#define INLINE
-#else
-#define INLINE inline
-#endif
-
-#define UINT64_RSHIFT(v, shiftby) (((uint64_t)(v)) >> (shiftby))
-#define UINT64_MULT32(v, multby) (((uint64_t)(v)) * ((uint32_t)(multby)))
-
-#ifndef UINT32_MAX
-#define UINT32_MAX (UINT32_C(0xffffffffU))
-#endif
-
-#ifndef UINT64_MAX
-#define UINT64_MAX (UINT64_C(0xffffffffffffffffULL))
-#endif
-
-#endif /*__ARCH_X86_BIOSINCLUDES_H__ */