summaryrefslogtreecommitdiff
path: root/board/freescale/ls2080aqds/ls2080aqds.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/freescale/ls2080aqds/ls2080aqds.c')
-rw-r--r--board/freescale/ls2080aqds/ls2080aqds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/ls2080aqds/ls2080aqds.c b/board/freescale/ls2080aqds/ls2080aqds.c
index f36fb9810b..83773d0af5 100644
--- a/board/freescale/ls2080aqds/ls2080aqds.c
+++ b/board/freescale/ls2080aqds/ls2080aqds.c
@@ -204,7 +204,7 @@ int board_init(void)
val = in_le32(dcfg_ccsr + DCFG_RCWSR13 / 4);
- env_hwconfig = getenv("hwconfig");
+ env_hwconfig = env_get("hwconfig");
if (hwconfig_f("dspi", env_hwconfig) &&
DCFG_RCWSR13_DSPI == (val & (u32)(0xf << 8)))