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>
12 * Global declaration of gd.
14 * As we write to it before relocation we have to make sure it is not put into
15 * a .bss section which may overlap a .rela section. Initialization forces it
16 * into a .data section which cannot overlap any .rela section.
18 struct global_data *global_data_ptr = (struct global_data *)~0;
20 void arch_setup_gd(gd_t *new_gd)
22 global_data_ptr = new_gd;
25 int cpu_has_64bit(void)
30 void enable_caches(void)
35 void disable_caches(void)
40 int dcache_status(void)
61 int print_cpuinfo(void)
66 int x86_cpu_reinit_f(void)