summaryrefslogtreecommitdiff
path: root/post/cpu/mpc83xx/ecc.c
diff options
context:
space:
mode:
Diffstat (limited to 'post/cpu/mpc83xx/ecc.c')
-rw-r--r--post/cpu/mpc83xx/ecc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/post/cpu/mpc83xx/ecc.c b/post/cpu/mpc83xx/ecc.c
index edd74115672..68da8ff4171 100644
--- a/post/cpu/mpc83xx/ecc.c
+++ b/post/cpu/mpc83xx/ecc.c
@@ -17,7 +17,7 @@
#include <asm/io.h>
#include <post.h>
-#if CONFIG_POST & CONFIG_SYS_POST_ECC
+#if CFG_POST & CFG_SYS_POST_ECC
/*
* We use the RAW I/O accessors where possible in order to
* achieve performance goal, since the test's execution time
@@ -51,7 +51,7 @@ int ecc_post_test(int flags)
int errbit;
u32 pattern[2], writeback[2], retval[2];
ddr83xx_t *ddr = &((immap_t *)CONFIG_SYS_IMMR)->ddr;
- volatile u64 *addr = (u64 *)CONFIG_SYS_POST_ECC_START_ADDR;
+ volatile u64 *addr = (u64 *)CFG_SYS_POST_ECC_START_ADDR;
/* The pattern is written into memory to generate error */
pattern[0] = 0xfedcba98UL;
@@ -70,8 +70,8 @@ int ecc_post_test(int flags)
int_state = disable_interrupts();
icache_enable();
- for (addr = (u64*)CONFIG_SYS_POST_ECC_START_ADDR, errbit=0;
- addr < (u64*)CONFIG_SYS_POST_ECC_STOP_ADDR; addr++, errbit++ ) {
+ for (addr = (u64*)CFG_SYS_POST_ECC_START_ADDR, errbit=0;
+ addr < (u64*)CFG_SYS_POST_ECC_STOP_ADDR; addr++, errbit++ ) {
schedule();