1 // SPDX-License-Identifier: GPL-2.0+
3 * (C) Copyright 2016 Google, Inc
4 * Written by Simon Glass <sjg@chromium.org>
9 #include <debug_uart.h>
13 * Global declaration of gd.
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.
19 struct global_data *global_data_ptr = (struct global_data *)~0;
21 void arch_setup_gd(gd_t *new_gd)
23 global_data_ptr = new_gd;
26 int cpu_has_64bit(void)
31 void enable_caches(void)
36 void disable_caches(void)
41 int dcache_status(void)
57 #ifndef CONFIG_SYS_COREBOOT
63 int print_cpuinfo(void)
69 int x86_cpu_reinit_f(void)