[PATCH 1/5] [ppc/mpc5xxx] Fixed typo in cpu_init.c
Carsten Schlote
carsten.schlote at gmx.net
Thu Oct 14 07:06:42 EDT 2010
From: Carsten Schlote <c.schlote at konzeptpark.de>
- Fixed typo, which assigns CS5 start address to CS7
Signed-off-by: Carsten Schlote <c.schlote at konzeptpark.de>
---
arch/ppc/mach-mpc5xxx/cpu_init.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/ppc/mach-mpc5xxx/cpu_init.c b/arch/ppc/mach-mpc5xxx/cpu_init.c
index fc5db0e..4ec5cba 100644
--- a/arch/ppc/mach-mpc5xxx/cpu_init.c
+++ b/arch/ppc/mach-mpc5xxx/cpu_init.c
@@ -119,7 +119,7 @@ int cpu_init(void)
#endif
#if defined(CFG_CS7_START) && defined(CFG_CS7_SIZE)
- *(vu_long *)MPC5XXX_CS7_START = START_REG(CFG_CS5_START);
+ *(vu_long *)MPC5XXX_CS7_START = START_REG(CFG_CS7_START);
*(vu_long *)MPC5XXX_CS7_STOP = STOP_REG(CFG_CS7_START, CFG_CS7_SIZE);
addecr |= (1 << 27);
#endif
--
1.7.2.2.277.gb49c4
More information about the barebox
mailing list