blob: 6a387612916c1e6f268555cd9234ec260bc91787 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Simon Glassefedba72017-01-16 07:03:58 -07002/*
3 * (C) Copyright 2016 Google, Inc
4 * Written by Simon Glass <sjg@chromium.org>
Simon Glassefedba72017-01-16 07:03:58 -07005 */
6
7#include <common.h>
Simon Glass1fa70f82019-11-14 12:57:34 -07008#include <cpu_func.h>
Simon Glass590aef72017-01-16 07:03:59 -07009#include <debug_uart.h>
Simon Glass97589732020-05-10 11:40:02 -060010#include <init.h>
Simon Glass86ed9c52021-11-03 21:09:08 -060011#include <asm/global_data.h>
Simon Glassefedba72017-01-16 07:03:58 -070012
13int cpu_has_64bit(void)
14{
15 return true;
16}
17
18void enable_caches(void)
19{
20 /* Not implemented */
21}
22
23void disable_caches(void)
24{
25 /* Not implemented */
26}
27
28int dcache_status(void)
29{
30 return true;
31}
32
33int x86_mp_init(void)
34{
35 /* Not implemented */
36 return 0;
37}
Simon Glass78a20d22017-01-16 07:04:08 -070038
Simon Glass05e12f72019-04-25 21:58:42 -060039int x86_cpu_reinit_f(void)
40{
41 return 0;
42}
Simon Glass2d8b3c62020-09-22 12:45:26 -060043
44int cpu_phys_address_size(void)
45{
46 return CONFIG_CPU_ADDR_BITS;
47}
Simon Glassf3d73ea2022-01-04 03:51:13 -070048
49int x86_cpu_init_f(void)
50{
51 return 0;
52}