hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
 * Copyright (c) 2017 Intel Corporation
 *
 * SPDX-License-Identifier:    GPL-2.0+
 */
 
#include <common.h>
#include <asm/scu.h>
#include <asm/u-boot-x86.h>
 
DECLARE_GLOBAL_DATA_PTR;
 
/*
 * Miscellaneous platform dependent initializations
 */
int arch_cpu_init(void)
{
   return x86_cpu_init_f();
}
 
int checkcpu(void)
{
   return 0;
}
 
int print_cpuinfo(void)
{
   return default_print_cpuinfo();
}
 
void reset_cpu(ulong addr)
{
   scu_ipc_simple_command(IPCMSG_COLD_RESET, 0);
}