diff options
author | Alexey Brodkin <Alexey.Brodkin@synopsys.com> | 2014-01-10 19:58:11 +0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-02-07 09:16:36 -0500 |
commit | 27ee59af28d0a6d0430947ad3cdda6ef0e7b1189 (patch) | |
tree | 7c62a2cbf588265683d8ecc689e3a9a2bbeefb2b /board/spear/spear300 | |
parent | 74cb708d5853854d28547b917d4b8a5588ee7324 (diff) | |
download | u-boot-imx-27ee59af28d0a6d0430947ad3cdda6ef0e7b1189.zip u-boot-imx-27ee59af28d0a6d0430947ad3cdda6ef0e7b1189.tar.gz u-boot-imx-27ee59af28d0a6d0430947ad3cdda6ef0e7b1189.tar.bz2 |
net: execute "miiphy_init" if CONFIG_PHYLIB defined
In "common/Makefile" "miiphyutil.o" gets built if any of the following
items enabled:
* CONFIG_PHYLIB
* CONFIG_MII
* CONFIG_CMD_MII
So it's possible to not define CONFIG_MII or CONFIG_CMD_MII and still
use functions like "miiphy_get_dev_by_name".
In its turn "miiphy_get_dev_by_name" traverses "mii_devs" list which is
not initialized because "miiphy_init" never got called.
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Wolfgang Denk <wd@denx.de>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Diffstat (limited to 'board/spear/spear300')
0 files changed, 0 insertions, 0 deletions