2 * (C) Copyright 2016 Google, Inc
3 * Written by Simon Glass <sjg@chromium.org>
5 * SPDX-License-Identifier: GPL-2.0+
9 #include <debug_uart.h>
11 /* Global declaration of gd */
12 struct global_data *global_data_ptr;
14 void arch_setup_gd(gd_t *new_gd)
16 global_data_ptr = new_gd;
19 * TODO(sjg@chromium.org): For some reason U-Boot does not boot
20 * without this line. It fails to start up U-Boot proper and instead
21 * restarts SPL. Need to figure out why:
26 * CPU: Intel(R) Core(TM) i5-3427U CPU @ 1.80GHz
27 * Trying to boot from SPIJumping to 64-bit U-Boot: Note many
28 * features are missing
32 #ifdef CONFIG_DEBUG_UART
37 int cpu_has_64bit(void)
42 void enable_caches(void)
47 void disable_caches(void)
52 int dcache_status(void)
73 int print_cpuinfo(void)