summaryrefslogtreecommitdiff
path: root/board/compulab/cl-som-am57x
diff options
context:
space:
mode:
Diffstat (limited to 'board/compulab/cl-som-am57x')
-rw-r--r--board/compulab/cl-som-am57x/eth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/compulab/cl-som-am57x/eth.c b/board/compulab/cl-som-am57x/eth.c
index d2992d3a63..0ad10056fe 100644
--- a/board/compulab/cl-som-am57x/eth.c
+++ b/board/compulab/cl-som-am57x/eth.c
@@ -181,7 +181,7 @@ int board_eth_init(bd_t *bis)
gpio_set_value(CL_SOM_AM57X_GPIO_PHY1_RST, 1);
mdelay(20);
- cpsw_phy_envval = getenv("cpsw_phy");
+ cpsw_phy_envval = env_get("cpsw_phy");
if (cpsw_phy_envval != NULL)
cpsw_act_phy = simple_strtoul(cpsw_phy_envval, NULL, 0);