From 1f94d162e2b5f0edc28d9fb11482502c44d218e1 Mon Sep 17 00:00:00 2001 From: Stefan Roese Date: Mon, 27 Nov 2006 14:48:41 +0100 Subject: [PATCH] 4xx: Fix problem with board specific reset code Signed-off-by: Stefan Roese --- cpu/ppc4xx/cpu.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cpu/ppc4xx/cpu.c') diff --git a/cpu/ppc4xx/cpu.c b/cpu/ppc4xx/cpu.c index c45525db00b..87299c1ec0d 100644 --- a/cpu/ppc4xx/cpu.c +++ b/cpu/ppc4xx/cpu.c @@ -426,6 +426,9 @@ int ppc440spe_revB() { int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) { +#if defined(CONFIG_BOARD_RESET) + board_reset(); +#else /* defined(CONFIG_BOARD_RESET) */ #if defined(CFG_4xx_RESET_TYPE) mtspr(dbcr0, CFG_4xx_RESET_TYPE << 28); #else -- cgit v1.2.3