diff options
author | Wolfgang Denk <wd@denx.de> | 2011-04-10 21:06:27 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-04-10 21:06:27 +0200 |
commit | a8708a86344794d7d9a25c71d2fe56b36563a0b5 (patch) | |
tree | c9b5d8218aec01c2518b544d1bf8a5b0269702ce /arch/blackfin/cpu/reset.c | |
parent | 6ee1416e8184b4d9ebe6087d396a60bcecf3551c (diff) | |
parent | d1f3ac9ee4dfc1a43fb7a786548bf0b6f2780695 (diff) |
Merge branch 'master' of git://git.denx.de/u-boot-blackfin
Diffstat (limited to 'arch/blackfin/cpu/reset.c')
-rw-r--r-- | arch/blackfin/cpu/reset.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/arch/blackfin/cpu/reset.c b/arch/blackfin/cpu/reset.c index 164afde331..9307e9f9e2 100644 --- a/arch/blackfin/cpu/reset.c +++ b/arch/blackfin/cpu/reset.c @@ -80,27 +80,11 @@ static void bfin_reset(void) * PC relative call with a 25 bit immediate. This is not enough * to get us from the top of SDRAM into L1. */ -__attribute__ ((__noreturn__)) -static inline void bfin_reset_trampoline(void) +int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) { if (board_reset) board_reset(); while (1) asm("jump (%0);" : : "a" (bfin_reset)); -} - -__attribute__ ((__noreturn__)) -void bfin_reset_or_hang(void) -{ -#ifdef CONFIG_PANIC_HANG - hang(); -#else - bfin_reset_trampoline(); -#endif -} - -int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) -{ - bfin_reset_trampoline(); return 0; } |