]> git.dujemihanovic.xyz Git - u-boot.git/commit
board: amlogic: add meson_generate_serial_ethaddr fallback to p200
authorChristian Hewitt <christianshewitt@gmail.com>
Sun, 24 Mar 2024 15:19:05 +0000 (15:19 +0000)
committerNeil Armstrong <neil.armstrong@linaro.org>
Mon, 25 Mar 2024 08:14:36 +0000 (09:14 +0100)
commit65d5c367b00cb392bda560c3da1834979adcf137
tree37a35ecb3e645be2f6f0491a46433227cdd9778a
parentcac77418d6be11445c3e1139f6763b5f5f5fe9fb
board: amlogic: add meson_generate_serial_ethaddr fallback to p200

Add a fall-back method to generate ethaddr from CPU serial on p200 boards
if the MAC cannot be read from efuse. This prevents random MAC addresses
on the WeTek Hub/Play2 boards.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Link: https://lore.kernel.org/r/20240324151905.3817732-3-christianshewitt@gmail.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
board/amlogic/p200/p200.c