u-boot-brain/board/dhelectronics/dh_stm32mp1
Marek Vasut 5c54260130 ARM: stm32: Add additional ID register check for KSZ8851 presence
Currently the code sets eth1addr only if /ethernet1 alias exists in DT,
the node pointed to by the alias has "micrel,ks8851-mll" compatible
string, and the KSZ8851 CCR register read indicates programmed EEPROM
is not connected.

This is not sufficient to detect cases where the DT still contains the
KSZ8851 nodes, but the chip itself is not present. Extend the detection
to handle these cases.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Patrice Chotard <patrice.chotard@foss.st.com>
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
2021-05-28 14:54:16 +02:00
..
Kconfig stm32mp1: dynamically build DFU_ALT_INFO 2020-05-14 09:02:12 +02:00
MAINTAINERS ARM: stm32: Update dhelectronics/dh_stm32mp1/MAINTAINERS file 2021-05-28 14:38:47 +02:00
Makefile board: st: stpmic1: add function stpmic1_init 2020-07-07 16:01:23 +02:00
board.c ARM: stm32: Add additional ID register check for KSZ8851 presence 2021-05-28 14:54:16 +02:00
u-boot-dhcom.its ARM: stm32: Use firmware property instead of loadables 2021-01-13 09:52:58 +01:00
u-boot-dhcor.its ARM: stm32: Use firmware property instead of loadables 2021-01-13 09:52:58 +01:00