diff options
author | Stefan Roese <sr@denx.de> | 2006-11-27 14:12:17 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2006-11-27 14:12:17 +0100 |
commit | 1c2ce2262069510f31c7d3fd7efd3d58b8c0c148 (patch) | |
tree | da4f0c35f18200eab6953d163866bdb11a9eb6c6 /cpu/ppc4xx/cpu_init.c | |
parent | 48c7d6dba9140869a1d644248aa8cfabe01c98a6 (diff) | |
download | bootable_bootloader_goldelico_gta04-1c2ce2262069510f31c7d3fd7efd3d58b8c0c148.zip bootable_bootloader_goldelico_gta04-1c2ce2262069510f31c7d3fd7efd3d58b8c0c148.tar.gz bootable_bootloader_goldelico_gta04-1c2ce2262069510f31c7d3fd7efd3d58b8c0c148.tar.bz2 |
[PATCH] Update Prodrive ALPR board support (440GX)
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'cpu/ppc4xx/cpu_init.c')
-rw-r--r-- | cpu/ppc4xx/cpu_init.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpu/ppc4xx/cpu_init.c b/cpu/ppc4xx/cpu_init.c index def46f1..4b746b0 100644 --- a/cpu/ppc4xx/cpu_init.c +++ b/cpu/ppc4xx/cpu_init.c @@ -321,6 +321,10 @@ cpu_init_f (void) #else val |= 0xf0000000; /* generate system reset after 2.684 seconds */ #endif +#if defined(CFG_4xx_RESET_TYPE) + val &= ~0x30000000; /* clear WRC bits */ + val |= CFG_4xx_RESET_TYPE << 28; /* set board specific WRC type */ +#endif mtspr(tcr, val); val = mfspr(tsr); |