]> Git Repo - J-u-boot.git/blame - arch/x86/cpu/x86_64/cpu.c
common: Drop init.h from common header
[J-u-boot.git] / arch / x86 / cpu / x86_64 / cpu.c
CommitLineData
83d290c5 1// SPDX-License-Identifier: GPL-2.0+
93031595
SG
2/*
3 * (C) Copyright 2016 Google, Inc
4 * Written by Simon Glass <[email protected]>
93031595
SG
5 */
6
7#include <common.h>
30c7c434 8#include <cpu_func.h>
a160092a 9#include <debug_uart.h>
691d719d 10#include <init.h>
a160092a 11
2c78a79e
HS
12/*
13 * Global declaration of gd.
14 *
15 * As we write to it before relocation we have to make sure it is not put into
16 * a .bss section which may overlap a .rela section. Initialization forces it
17 * into a .data section which cannot overlap any .rela section.
18 */
19struct global_data *global_data_ptr = (struct global_data *)~0;
a160092a
SG
20
21void arch_setup_gd(gd_t *new_gd)
22{
23 global_data_ptr = new_gd;
a160092a 24}
93031595
SG
25
26int cpu_has_64bit(void)
27{
28 return true;
29}
30
31void enable_caches(void)
32{
33 /* Not implemented */
34}
35
36void disable_caches(void)
37{
38 /* Not implemented */
39}
40
41int dcache_status(void)
42{
43 return true;
44}
45
46int x86_mp_init(void)
47{
48 /* Not implemented */
49 return 0;
50}
1b408630
SG
51
52int misc_init_r(void)
53{
54 return 0;
55}
56
b4d4f592 57#ifndef CONFIG_SYS_COREBOOT
76d1d02f
SG
58int checkcpu(void)
59{
60 return 0;
61}
62
1b408630
SG
63int print_cpuinfo(void)
64{
65 return 0;
66}
b4d4f592 67#endif
c0069e9a
SG
68
69int x86_cpu_reinit_f(void)
70{
71 return 0;
72}
This page took 0.15448 seconds and 4 git commands to generate.