aboutsummaryrefslogtreecommitdiff
path: root/arch/blackfin/cpu/cpu.h
AgeCommit message (Collapse)Author
2011-04-08Blackfin: replace "bfin_reset_or_hang()" with "panic()"Kyle Moffett
The bfin_reset_or_hang function unnecessarily duplicates the panic() logic based on CONFIG_PANIC_HANG. This patch deletes 20 lines of code and just calls panic() instead. This also makes the following generic-restart conversion patch simpler. Signed-off-by: Kyle Moffett <Kyle.D.Moffett@boeing.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-07-05Blackfin: set up simple NMI handlers for anomaly 05000219Mike Frysinger
Older on-chip Blackfin bootroms do not create a dummy NMI handler, so set up one ourselves when anomaly 05000219 applies. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-07-05Blackfin: clean up trace buffer handling when crashingMike Frysinger
Avoid banging on the trace MMRs when debugging is disabled, avoid calling the funcs multiple times in a row, disable the trace buffer earlier in the exception handler to avoid eating more user entries, and dump the buffer before calling the kgdb hook. This way we maximize useful debugging info up front rather than needing external tools (like gdb/serial/etc...). Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-04-13blackfin: Move cpu/blackfin/* to arch/blackfin/cpu/*Peter Tyser
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>