]> git.baikalelectronics.ru Git - uboot.git/commit
xilinx: board: Fix xilinx_eeprom_legacy_cleanup()
authorMichal Simek <michal.simek@amd.com>
Tue, 24 Jan 2023 15:19:27 +0000 (16:19 +0100)
committerMichal Simek <michal.simek@amd.com>
Fri, 27 Jan 2023 07:48:32 +0000 (08:48 +0100)
commitbc909ede08d48bf749bca5cdd5e4b511d94c92d3
treeaca0746ecaed18c8fe3a1723f1454ff91d2121cf
parent4f0713974bfd298041bb3733f3d13352c2ae683b
xilinx: board: Fix xilinx_eeprom_legacy_cleanup()

When ethernet mac address contains 0x20 or 0xff MAC address is changed and
bytes are converted to zeros. That's why fix decoding algorithm to ignore
fields where MAC address is stored and all non printable chars (including
space) are zeroed.

Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/2802cf1086b14c181356810006fe886f950a36f3.1674573561.git.michal.simek@amd.com
board/xilinx/common/board.c