diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2016-02-17 00:16:21 -0800 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2016-02-21 13:42:52 +0800 |
commit | 437413962744cc9c80551ca253a20472856551f2 (patch) | |
tree | bd4b1b0b555096078832aed54c7a933a18a1c448 /arch/x86/cpu/ivybridge/ivybridge.c | |
parent | 4fd64d02b2bb7fe583c1246c79b9658223d96442 (diff) |
x86: ivybridge: Add FSP support
IvyBridge FSP package is built with a base address at 0xfff80000,
and does not use UPD data region. This adds basic FSP support.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
Tested on link (ivybridge non-FSP)
Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/cpu/ivybridge/ivybridge.c')
-rw-r--r-- | arch/x86/cpu/ivybridge/ivybridge.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/x86/cpu/ivybridge/ivybridge.c b/arch/x86/cpu/ivybridge/ivybridge.c new file mode 100644 index 0000000000..c770b53c08 --- /dev/null +++ b/arch/x86/cpu/ivybridge/ivybridge.c @@ -0,0 +1,22 @@ +/* + * Copyright (C) 2016, Bin Meng <bmeng.cn@gmail.com> + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#include <common.h> +#include <asm/post.h> +#include <asm/processor.h> + +int arch_cpu_init(void) +{ + int ret; + + post_code(POST_CPU_INIT); + + ret = x86_cpu_init_f(); + if (ret) + return ret; + + return 0; +} |