summaryrefslogtreecommitdiff
path: root/board/freescale/ls1046afrwy
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-10-29 03:27:13 +0300
committerTom Rini <trini@konsulko.com>2022-11-10 18:08:55 +0300
commit6cc04547cb3bbd3a3d78947f200acbae19e3c67f (patch)
tree518a634e223bfb02d08ca359331a4ec08c20513c /board/freescale/ls1046afrwy
parent5155207ae1a0797a99c0a5f4e99741960ff04697 (diff)
downloadu-boot-6cc04547cb3bbd3a3d78947f200acbae19e3c67f.tar.xz
global: Migrate CONFIG_SYS_FSL* symbols to the CFG_SYS namespace
Migrate all of COFIG_SYS_FSL* to the CFG_SYS namespace. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/freescale/ls1046afrwy')
-rw-r--r--board/freescale/ls1046afrwy/eth.c4
-rw-r--r--board/freescale/ls1046afrwy/ls1046afrwy.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/board/freescale/ls1046afrwy/eth.c b/board/freescale/ls1046afrwy/eth.c
index 06ccfe9e8e..71c4c21cd4 100644
--- a/board/freescale/ls1046afrwy/eth.c
+++ b/board/freescale/ls1046afrwy/eth.c
@@ -20,7 +20,7 @@ int board_eth_init(struct bd_info *bis)
struct memac_mdio_info dtsec_mdio_info;
struct mii_dev *dev;
u32 srds_s1;
- struct ccsr_gur *gur = (void *)(CONFIG_SYS_FSL_GUTS_ADDR);
+ struct ccsr_gur *gur = (void *)(CFG_SYS_FSL_GUTS_ADDR);
srds_s1 = in_be32(&gur->rcwsr[4]) &
FSL_CHASSIS2_RCWSR4_SRDS1_PRTCL_MASK;
@@ -70,7 +70,7 @@ int fdt_update_ethernet_dt(void *blob)
int i, prop;
int offset, nodeoff;
const char *path;
- struct ccsr_gur *gur = (void *)(CONFIG_SYS_FSL_GUTS_ADDR);
+ struct ccsr_gur *gur = (void *)(CFG_SYS_FSL_GUTS_ADDR);
srds_s1 = in_be32(&gur->rcwsr[4]) &
FSL_CHASSIS2_RCWSR4_SRDS1_PRTCL_MASK;
diff --git a/board/freescale/ls1046afrwy/ls1046afrwy.c b/board/freescale/ls1046afrwy/ls1046afrwy.c
index 5a298cd311..f6e5c122ea 100644
--- a/board/freescale/ls1046afrwy/ls1046afrwy.c
+++ b/board/freescale/ls1046afrwy/ls1046afrwy.c
@@ -146,7 +146,7 @@ int board_setup_core_volt(u32 vdd)
void config_board_mux(void)
{
#ifdef CONFIG_HAS_FSL_XHCI_USB
- struct ccsr_scfg *scfg = (struct ccsr_scfg *)CONFIG_SYS_FSL_SCFG_ADDR;
+ struct ccsr_scfg *scfg = (struct ccsr_scfg *)CFG_SYS_FSL_SCFG_ADDR;
u32 usb_pwrfault;
/*
* USB2 is used, configure mux to USB2_DRVVBUS/USB2_PWRFAULT