diff options
Diffstat (limited to 'bsps/powerpc/gen83xx/start/cpuinit.c')
-rw-r--r-- | bsps/powerpc/gen83xx/start/cpuinit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bsps/powerpc/gen83xx/start/cpuinit.c b/bsps/powerpc/gen83xx/start/cpuinit.c index 1e867bb323..72544de408 100644 --- a/bsps/powerpc/gen83xx/start/cpuinit.c +++ b/bsps/powerpc/gen83xx/start/cpuinit.c @@ -6,7 +6,7 @@ /* * Copyright (c) 2003 IPR Engineering - * Copyright (c) 2005 embedded brains GmbH. All rights reserved. + * Copyright (c) 2005 embedded brains GmbH & Co. KG * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at @@ -93,7 +93,7 @@ void cpu_init( void) clear_mmu_regs(); /* Clear caches */ - hid0 = PPC_SPECIAL_PURPOSE_REGISTER(HID0); + PPC_SPECIAL_PURPOSE_REGISTER(HID0, hid0); if ((hid0 & (HID0_ICE | HID0_DCE)) == 0) { hid0 &= ~(HID0_ILOCK | HID0_DLOCK | HID0_ICE | HID0_DCE); PPC_SET_SPECIAL_PURPOSE_REGISTER(HID0, hid0); |