]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: imx: stm32: Test whether ethernet node is enabled before reading MAC EEPROM...
authorMarek Vasut <marex@denx.de>
Tue, 12 Mar 2024 21:15:58 +0000 (22:15 +0100)
committerFabio Estevam <festevam@gmail.com>
Fri, 5 Apr 2024 12:37:38 +0000 (09:37 -0300)
commit786af90de8ceba3cee1818376b9d53421c5be598
tree0cb7ae183fba15c7b9ffea09632a53919dc6a5b0
parent26ff863fc03aaaf4578dc5dc69753385dcf7d810
ARM: imx: stm32: Test whether ethernet node is enabled before reading MAC EEPROM on DHSOM

Check whether the ethernet interface is enabled at all before reading
MAC EEPROM. As a cost saving measure, it can happen that the MAC EEPROM
is not populated on SoMs which do not use ethernet.

Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
board/dhelectronics/common/dh_common.c
board/dhelectronics/common/dh_common.h
board/dhelectronics/dh_imx6/dh_imx6.c
board/dhelectronics/dh_imx8mp/imx8mp_dhcom_pdk2.c
board/dhelectronics/dh_stm32mp1/board.c