1 /* CPU specific code for the LEON2 CPU
3 * (C) Copyright 2007, 2015
4 * Daniel Hellstrom, Cobham Gaisler, daniel@gaisler.com
6 * SPDX-License-Identifier: GPL-2.0+
14 DECLARE_GLOBAL_DATA_PTR;
16 extern void _reset_reloc(void);
20 /* check LEON version here */
21 printf("CPU: LEON2\n");
25 #ifdef CONFIG_DISPLAY_CPUINFO
27 int print_cpuinfo(void)
29 printf("CPU: LEON2\n");
35 /* ------------------------------------------------------------------------- */
42 /* jump to restart in flash */
46 int do_reset(cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
53 /* ------------------------------------------------------------------------- */
56 int cpu_eth_init(bd_t *bis)
58 return greth_initialize(bis);