blob: f6aa1b6539afac55710da476b7c77a8c33cf4579 [file] [log] [blame]
Wolfgang Denk6cb142f2006-03-12 02:12:27 +01001/*
Mike Frysinger9171fc82008-03-30 15:46:13 -04002 * U-boot - cpu.h
Wolfgang Denk6cb142f2006-03-12 02:12:27 +01003 *
Mike Frysinger9171fc82008-03-30 15:46:13 -04004 * Copyright (c) 2005-2007 Analog Devices Inc.
Wolfgang Denk6cb142f2006-03-12 02:12:27 +01005 *
Wolfgang Denk1a459662013-07-08 09:37:19 +02006 * SPDX-License-Identifier: GPL-2.0+
Wolfgang Denk6cb142f2006-03-12 02:12:27 +01007 */
8
Mike Frysinger9171fc82008-03-30 15:46:13 -04009#ifndef _CPU_H_
10#define _CPU_H_
Wolfgang Denk6cb142f2006-03-12 02:12:27 +010011
Mike Frysinger9171fc82008-03-30 15:46:13 -040012#include <command.h>
Wolfgang Denk6cb142f2006-03-12 02:12:27 +010013
Mike Frysinger9171fc82008-03-30 15:46:13 -040014void board_reset(void) __attribute__((__weak__));
Mike Frysinger66a49092010-04-29 00:31:36 -040015void bfin_dump(struct pt_regs *reg);
Mike Frysinger9171fc82008-03-30 15:46:13 -040016void bfin_panic(struct pt_regs *reg);
17void dump(struct pt_regs *regs);
18
19asmlinkage void trap(void);
Mike Frysingerce53fc62010-05-05 02:07:44 -040020asmlinkage void evt_nmi(void);
Mike Frysinger9171fc82008-03-30 15:46:13 -040021asmlinkage void evt_default(void);
22
23#endif