summaryrefslogtreecommitdiff
path: root/post/cpu
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-12-04 10:14:17 -0500
committerTom Rini <trini@konsulko.com>2022-12-23 13:01:13 -0500
commit1e019503330585e892be057cca3ed4eb1b9c9344 (patch)
tree4a3c00b9ea9e88f23da0acb1ec35f511981bca7e /post/cpu
parent9ef3ba85bf38289a3e3b0dcb92fad9480a0b1834 (diff)
downloadu-boot-1e019503330585e892be057cca3ed4eb1b9c9344.tar.gz
u-boot-1e019503330585e892be057cca3ed4eb1b9c9344.tar.bz2
u-boot-1e019503330585e892be057cca3ed4eb1b9c9344.zip
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>
Diffstat (limited to 'post/cpu')
-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 45263e6b44..68da8ff417 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 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();