mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-13 00:03:26 +09:00
![Simon Glass](/assets/img/avatar_default.png)
Add a bare-bones CPU driver so that CPUs can be probed. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
21 lines
371 B
C
21 lines
371 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright 2019 Google LLC
|
|
*/
|
|
|
|
#ifndef _ASM_ARCH_CPU_H
|
|
#define _ASM_ARCH_CPU_H
|
|
|
|
/* Common Timer Copy (CTC) frequency - 19.2MHz */
|
|
#define CTC_FREQ 19200000
|
|
|
|
#define MAX_PCIE_PORTS 6
|
|
#define CLKREQ_DISABLED 0xf
|
|
|
|
#ifndef __ASSEMBLY__
|
|
/* Flush L1D to L2 */
|
|
void cpu_flush_l1d_to_l2(void);
|
|
#endif
|
|
|
|
#endif /* _ASM_ARCH_CPU_H */
|