blob: a5fe02e53cda7adc70d375f1896d244a3ffe9c00 [file] [log] [blame]
Wolfgang Denk97caf672006-03-12 02:12:27 +01001/*
Bin Meng75574052016-02-05 19:30:11 -08002 * U-Boot - cpu.h
Wolfgang Denk97caf672006-03-12 02:12:27 +01003 *
Mike Frysinger94bae5c2008-03-30 15:46:13 -04004 * Copyright (c) 2005-2007 Analog Devices Inc.
Wolfgang Denk97caf672006-03-12 02:12:27 +01005 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02006 * SPDX-License-Identifier: GPL-2.0+
Wolfgang Denk97caf672006-03-12 02:12:27 +01007 */
8
Mike Frysinger94bae5c2008-03-30 15:46:13 -04009#ifndef _CPU_H_
10#define _CPU_H_
Wolfgang Denk97caf672006-03-12 02:12:27 +010011
Mike Frysinger94bae5c2008-03-30 15:46:13 -040012#include <command.h>
13
14void board_reset(void) __attribute__((__weak__));
Mike Frysingerc3036f12010-04-29 00:31:36 -040015void bfin_dump(struct pt_regs *reg);
Mike Frysinger94bae5c2008-03-30 15:46:13 -040016void bfin_panic(struct pt_regs *reg);
17void dump(struct pt_regs *regs);
18
19asmlinkage void trap(void);
Mike Frysingereb2a3992010-05-05 02:07:44 -040020asmlinkage void evt_nmi(void);
Mike Frysinger94bae5c2008-03-30 15:46:13 -040021asmlinkage void evt_default(void);
Wolfgang Denk97caf672006-03-12 02:12:27 +010022
Mike Frysinger94bae5c2008-03-30 15:46:13 -040023#endif