summaryrefslogtreecommitdiff
path: root/board/socrates
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-10-28 20:27:12 -0400
committerTom Rini <trini@konsulko.com>2022-11-10 10:08:55 -0500
commit5155207ae1a0797a99c0a5f4e99741960ff04697 (patch)
treef3b50ee9d5ece07c22582eaeaf97d727f9ded0c4 /board/socrates
parentd236210c11d2bdf81c721d2df6efb693f258a58b (diff)
downloadu-boot-5155207ae1a0797a99c0a5f4e99741960ff04697.tar.gz
u-boot-5155207ae1a0797a99c0a5f4e99741960ff04697.tar.bz2
u-boot-5155207ae1a0797a99c0a5f4e99741960ff04697.zip
global: Migrate CONFIG_SYS_MPC8* symbols to the CFG_SYS namespace
Migrate all of COFIG_SYS_MPC* to the CFG_SYS namespace. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/socrates')
-rw-r--r--board/socrates/socrates.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/socrates/socrates.c b/board/socrates/socrates.c
index 33b72614d7..eaba87542e 100644
--- a/board/socrates/socrates.c
+++ b/board/socrates/socrates.c
@@ -35,7 +35,7 @@ ulong flash_get_size (ulong base, int banknum);
int checkboard (void)
{
- volatile ccsr_gur_t *gur = (void *)(CONFIG_SYS_MPC85xx_GUTS_ADDR);
+ volatile ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
char buf[64];
int f;
int i = env_get_f("serial#", buf, sizeof(buf));
@@ -139,7 +139,7 @@ int misc_init_r (void)
void local_bus_init (void)
{
volatile fsl_lbc_t *lbc = LBC_BASE_ADDR;
- volatile ccsr_local_ecm_t *ecm = (void *)(CONFIG_SYS_MPC85xx_ECM_ADDR);
+ volatile ccsr_local_ecm_t *ecm = (void *)(CFG_SYS_MPC85xx_ECM_ADDR);
sys_info_t sysinfo;
uint clkdiv;
uint lbc_mhz;
@@ -175,7 +175,7 @@ void local_bus_init (void)
#ifdef CONFIG_BOARD_EARLY_INIT_R
int board_early_init_r (void)
{
- volatile ccsr_gur_t *gur = (void *)(CONFIG_SYS_MPC85xx_GUTS_ADDR);
+ volatile ccsr_gur_t *gur = (void *)(CFG_SYS_MPC85xx_GUTS_ADDR);
/* set and reset the GPIO pin 2 which will reset the W83782G chip */
out_8((unsigned char*)&gur->gpoutdr, 0x3F );