summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/processor.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-11-12 22:42:19 -0700
committerSimon Glass <sjg@chromium.org>2014-11-21 07:34:13 +0100
commitf5fbbe95798dba8f1536892598afbf33b5c07b5f (patch)
treece333098bc5a1049a82093450deb9fe55df3ed44 /arch/x86/include/asm/processor.h
parenteddbad224b9e0e6834f946f587923f27e54abb69 (diff)
downloadu-boot-imx-f5fbbe95798dba8f1536892598afbf33b5c07b5f.zip
u-boot-imx-f5fbbe95798dba8f1536892598afbf33b5c07b5f.tar.gz
u-boot-imx-f5fbbe95798dba8f1536892598afbf33b5c07b5f.tar.bz2
x86: ivybridge: Perform initial CPU setup
Set up the flex ratio (controls speed versus heat output) and a few other very early things. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/include/asm/processor.h')
-rw-r--r--arch/x86/include/asm/processor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h
index b2854a9..b9317cb 100644
--- a/arch/x86/include/asm/processor.h
+++ b/arch/x86/include/asm/processor.h
@@ -32,6 +32,8 @@ enum {
#ifndef __ASSEMBLY__
+#define PORT_RESET 0xcf9
+
static inline __attribute__((always_inline)) void cpu_hlt(void)
{
asm("hlt");