1 /* CPU specific code for the LEON3 CPU
4 * Daniel Hellstrom, Gaisler Research, daniel@gaisler.com
6 * SPDX-License-Identifier: GPL-2.0+
15 #include <asm/processor.h>
17 DECLARE_GLOBAL_DATA_PTR;
19 extern void _reset_reloc(void);
23 /* check LEON version here */
24 printf("CPU: LEON3\n");
28 /* ------------------------------------------------------------------------- */
35 /* jump to restart in flash */
39 int do_reset(cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
47 u64 flash_read64(void *addr)
49 return __raw_readq(addr);
52 /* ------------------------------------------------------------------------- */
55 int cpu_eth_init(bd_t *bis)
57 return greth_initialize(bis);