1 // SPDX-License-Identifier: GPL-2.0+
3 * (C) Copyright 2016 Google, Inc
4 * Written by Simon Glass <sjg@chromium.org>
8 #include <debug_uart.h>
11 * Global declaration of gd.
13 * As we write to it before relocation we have to make sure it is not put into
14 * a .bss section which may overlap a .rela section. Initialization forces it
15 * into a .data section which cannot overlap any .rela section.
17 struct global_data *global_data_ptr = (struct global_data *)~0;
19 void arch_setup_gd(gd_t *new_gd)
21 global_data_ptr = new_gd;
24 int cpu_has_64bit(void)
29 void enable_caches(void)
34 void disable_caches(void)
39 int dcache_status(void)
60 int print_cpuinfo(void)