]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: dts: stm32: Do not set eth1addr if KS8851 has EEPROM
authorMarek Vasut <marex@denx.de>
Thu, 8 Oct 2020 13:14:58 +0000 (15:14 +0200)
committerPatrick Delaunay <patrick.delaunay@st.com>
Wed, 21 Oct 2020 16:12:20 +0000 (18:12 +0200)
commite07f76b25debf224a0283671f0b9ab0912a7ac0a
treeb249dd53a4ce41599f49a865787b5b53e0d8592f
parent67f9f11f197ff39e4e85e56bca84206ef18ab296
ARM: dts: stm32: Do not set eth1addr if KS8851 has EEPROM

In case the KS8851 has external EEPROM attached to it, do not set
eth1addr at all. The network stack will read the MAC out of the
KS8851 and set eth1addr accordingly.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Patrice Chotard <patrice.chotard@st.com>
Cc: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@st.com>
board/dhelectronics/dh_stm32mp1/board.c