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>
10 /* Global declaration of gd */
11 struct global_data *global_data_ptr;
13 void arch_setup_gd(gd_t *new_gd)
15 global_data_ptr = new_gd;
18 * TODO(sjg@chromium.org): For some reason U-Boot does not boot
19 * without this line. It fails to start up U-Boot proper and instead
20 * restarts SPL. Need to figure out why:
25 * CPU: Intel(R) Core(TM) i5-3427U CPU @ 1.80GHz
26 * Trying to boot from SPIJumping to 64-bit U-Boot: Note many
27 * features are missing
31 #ifdef CONFIG_DEBUG_UART
36 int cpu_has_64bit(void)
41 void enable_caches(void)
46 void disable_caches(void)
51 int dcache_status(void)
72 int print_cpuinfo(void)