mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-01-08 11:18:53 +00:00
35 lines
473 B
C
35 lines
473 B
C
|
/*
|
||
|
* 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);
|
||
|
}
|