post: Move CONFIG_SYS_POST to CFG_SYS_POST
Migrate the rest of the CONFIG_SYS_POST macros over to CFG_SYS_POST namespace. Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
#include <asm/io.h>
|
||||
#include <post.h>
|
||||
|
||||
#if CFG_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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user