mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-27 07:01:24 +00:00
6c4359aa72
Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
35 lines
758 B
C
35 lines
758 B
C
/* LEON3 header file. LEON3 is a free GPL SOC processor available
|
|
* at www.gaisler.com.
|
|
*
|
|
* (C) Copyright 2007
|
|
* Daniel Hellstrom, Gaisler Research, daniel@gaisler.com.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef __LEON3_H__
|
|
#define __LEON3_H__
|
|
|
|
#ifndef CONFIG_LEON3
|
|
#error Include LEON3 header file only if LEON3 processor
|
|
#endif
|
|
|
|
/* Not much to define, most is Plug and Play and GRLIB dependent
|
|
* not LEON3 dependent. See <ambapp.h> for GRLIB timers, interrupt
|
|
* ctrl, memory controllers etc.
|
|
*/
|
|
|
|
|
|
#ifndef __ASSEMBLER__
|
|
/* The frequency of the CPU */
|
|
extern unsigned int leon_cpu_freq;
|
|
|
|
/* Number of LEON processors in system */
|
|
extern int leon_cpu_cnt;
|
|
|
|
/* Ver/subversion of CPU */
|
|
extern int leon_ver;
|
|
|
|
#endif /* __ASSEMBLER__ */
|
|
|
|
#endif
|