]> git.dujemihanovic.xyz Git - u-boot.git/commit
toradex: tdx-cfg-block: add new toradex oui range
authorPhilippe Schenker <philippe.schenker@toradex.com>
Mon, 20 Jun 2022 14:57:45 +0000 (16:57 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 6 Jul 2022 18:30:51 +0000 (14:30 -0400)
commit1cf4e79f5776e9cc451b7f4affec7e47db9533f9
treebbbf3bf63d0e3468b67bc0dba51e32f217797b47
parenta58147c2dbbfbc436ba84463678e943146bcae7d
toradex: tdx-cfg-block: add new toradex oui range

Add new Toradex MAC OUI (8c:06:cb), to the config block. With this change
we extend the possible serial-numbers as follows:

For serial-numbers 00000000-16777215 OUI 00:14:2d is taken
For serial-numbers 16777216-33554431 OUI 8c:06:cb is taken

Lower 24-bit of the serial number are used in the NIC part of the
MAC address, the complete serial number can be calculated using the OUI.

Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Reviewed-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Reviewed-by: Fabio Estevam <festevam@denx.de>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
board/toradex/common/tdx-cfg-block.c
board/toradex/common/tdx-cfg-block.h
board/toradex/common/tdx-common.c