summaryrefslogtreecommitdiffstats
path: root/board/gumstix
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-08-03 12:22:14 -0600
committerTom Rini <trini@konsulko.com>2017-08-16 08:30:44 -0400
commit35affd7a2ff9a77b9946bf93b616228fcf218d60 (patch)
tree812b1f6919c36821364b863d9b35ad7497d392bb /board/gumstix
parentbfebc8c965e41d62dc6355d09bdd63ca57011b99 (diff)
downloadu-boot-35affd7a2ff9a77b9946bf93b616228fcf218d60.tar.gz
u-boot-35affd7a2ff9a77b9946bf93b616228fcf218d60.tar.xz
u-boot-35affd7a2ff9a77b9946bf93b616228fcf218d60.zip
env: Rename eth_getenv_enetaddr() to eth_env_get_enetaddr()
Rename this function for consistency with env_get(). Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/gumstix')
-rw-r--r--board/gumstix/pepper/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/gumstix/pepper/board.c b/board/gumstix/pepper/board.c
index 7e8b014e3d..bfc5fd1c46 100644
--- a/board/gumstix/pepper/board.c
+++ b/board/gumstix/pepper/board.c
@@ -239,7 +239,7 @@ int board_eth_init(bd_t *bis)
uint32_t mac_hi, mac_lo;
const char *devname;
- if (!eth_getenv_enetaddr("ethaddr", mac_addr)) {
+ if (!eth_env_get_enetaddr("ethaddr", mac_addr)) {
/* try reading mac address from efuse */
mac_lo = readl(&cdev->macid0l);
mac_hi = readl(&cdev->macid0h);