mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 00:32:04 +02:00
common: Move older CPU functions to their own header
These should be moved to driver model, but in the meantime, move them out of the common header to help reduce its size. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
23
include/cpu_func.h
Normal file
23
include/cpu_func.h
Normal file
@@ -0,0 +1,23 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0+ */
|
||||
/*
|
||||
* (C) Copyright 2000-2009
|
||||
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||
* Copyright 2019 Google LLC
|
||||
*/
|
||||
|
||||
#ifndef __CPU_LEGACY_H
|
||||
#define __CPU_LEGACY_H
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
/*
|
||||
* Multicore arch functions
|
||||
*
|
||||
* These should be moved to use the CPU uclass.
|
||||
*/
|
||||
int cpu_status(u32 nr);
|
||||
int cpu_reset(u32 nr);
|
||||
int cpu_disable(u32 nr);
|
||||
int cpu_release(u32 nr, int argc, char * const argv[]);
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user