summaryrefslogtreecommitdiff
path: root/cpu/ppc4xx
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2006-11-27 14:48:41 +0100
committerStefan Roese <sr@denx.de>2006-11-27 14:48:41 +0100
commit1f94d162e2b5f0edc28d9fb11482502c44d218e1 (patch)
tree5f5942e3dc52a94ddcfe7ad8a71ead5387eb441d /cpu/ppc4xx
parentec0c2ec725aec9524a177a77ce75559e644a931a (diff)
downloadu-boot-imx-1f94d162e2b5f0edc28d9fb11482502c44d218e1.zip
u-boot-imx-1f94d162e2b5f0edc28d9fb11482502c44d218e1.tar.gz
u-boot-imx-1f94d162e2b5f0edc28d9fb11482502c44d218e1.tar.bz2
[PATCH] 4xx: Fix problem with board specific reset code
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'cpu/ppc4xx')
-rw-r--r--cpu/ppc4xx/cpu.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpu/ppc4xx/cpu.c b/cpu/ppc4xx/cpu.c
index c45525d..87299c1 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