uboot/arch/x86/cpu/x86_64/cpu.c
<<
>>
Prefs
   1// SPDX-License-Identifier: GPL-2.0+
   2/*
   3 * (C) Copyright 2016 Google, Inc
   4 * Written by Simon Glass <sjg@chromium.org>
   5 */
   6
   7#include <common.h>
   8#include <cpu_func.h>
   9#include <debug_uart.h>
  10#include <init.h>
  11#include <asm/global_data.h>
  12
  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}
  38
  39int x86_cpu_reinit_f(void)
  40{
  41        return 0;
  42}
  43
  44int cpu_phys_address_size(void)
  45{
  46        return CONFIG_CPU_ADDR_BITS;
  47}
  48
  49int x86_cpu_init_f(void)
  50{
  51        return 0;
  52}
  53