rename CFG_ macros to CONFIG_SYS
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
committed by
Wolfgang Denk
parent
71edc27181
commit
6d0f6bcf33
@@ -48,7 +48,7 @@ ulong get_tbclk(void)
|
||||
{
|
||||
ulong tbclk;
|
||||
|
||||
tbclk = CFG_HZ;
|
||||
tbclk = CONFIG_SYS_HZ;
|
||||
return tbclk;
|
||||
}
|
||||
|
||||
|
||||
@@ -145,12 +145,12 @@ ENTRY(_start)
|
||||
r6 = 0 (x);
|
||||
p1 = r0;
|
||||
|
||||
p2.l = LO(CFG_MONITOR_BASE);
|
||||
p2.h = HI(CFG_MONITOR_BASE);
|
||||
p2.l = LO(CONFIG_SYS_MONITOR_BASE);
|
||||
p2.h = HI(CONFIG_SYS_MONITOR_BASE);
|
||||
|
||||
p3 = 0x04;
|
||||
p4.l = LO(CFG_MONITOR_BASE + CFG_MONITOR_LEN);
|
||||
p4.h = HI(CFG_MONITOR_BASE + CFG_MONITOR_LEN);
|
||||
p4.l = LO(CONFIG_SYS_MONITOR_BASE + CONFIG_SYS_MONITOR_LEN);
|
||||
p4.h = HI(CONFIG_SYS_MONITOR_BASE + CONFIG_SYS_MONITOR_LEN);
|
||||
.Lloop1:
|
||||
r1 = [p1 ++ p3];
|
||||
[p2 ++ p3] = r1;
|
||||
|
||||
@@ -229,8 +229,8 @@ static void decode_address(char *buf, unsigned long address)
|
||||
|
||||
if (!address)
|
||||
sprintf(buf, "<0x%p> /* Maybe null pointer? */", address);
|
||||
else if (address >= CFG_MONITOR_BASE &&
|
||||
address < CFG_MONITOR_BASE + CFG_MONITOR_LEN)
|
||||
else if (address >= CONFIG_SYS_MONITOR_BASE &&
|
||||
address < CONFIG_SYS_MONITOR_BASE + CONFIG_SYS_MONITOR_LEN)
|
||||
sprintf(buf, "<0x%p> /* somewhere in u-boot */", address);
|
||||
else
|
||||
sprintf(buf, "<0x%p> /* unknown address */", address);
|
||||
|
||||
Reference in New Issue
Block a user