1 /* CPU specific code for the LEON3 CPU
3 * (C) Copyright 2007, 2015
4 * Daniel Hellstrom, Cobham Gaisler, 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 #ifdef CONFIG_DISPLAY_CPUINFO
30 int print_cpuinfo(void)
32 printf("CPU: LEON3\n");
38 /* ------------------------------------------------------------------------- */
45 /* jump to restart in flash */
49 int do_reset(cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
57 u64 flash_read64(void *addr)
59 return __raw_readq(addr);
62 /* ------------------------------------------------------------------------- */
65 int cpu_eth_init(bd_t *bis)
67 return greth_initialize(bis);