diff options
| author | Simon Glass <[email protected]> | 2017-08-03 12:22:14 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2017-08-16 08:30:44 -0400 |
| commit | 35affd7a2ff9a77b9946bf93b616228fcf218d60 (patch) | |
| tree | 812b1f6919c36821364b863d9b35ad7497d392bb /board/phytec | |
| parent | bfebc8c965e41d62dc6355d09bdd63ca57011b99 (diff) | |
env: Rename eth_getenv_enetaddr() to eth_env_get_enetaddr()
Rename this function for consistency with env_get().
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'board/phytec')
| -rw-r--r-- | board/phytec/pcm051/board.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/phytec/pcm051/board.c b/board/phytec/pcm051/board.c index 0da96e74135..52ad5b64de7 100644 --- a/board/phytec/pcm051/board.c +++ b/board/phytec/pcm051/board.c @@ -216,7 +216,7 @@ int board_eth_init(bd_t *bis) uint8_t mac_addr[6]; uint32_t mac_hi, mac_lo; - if (!eth_getenv_enetaddr("ethaddr", mac_addr)) { + if (!eth_env_get_enetaddr("ethaddr", mac_addr)) { printf("<ethaddr> not set. Reading from E-fuse\n"); /* try reading mac address from efuse */ mac_lo = readl(&cdev->macid0l); |
