]> git.baikalelectronics.ru Git - uboot.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)
commit4412a188a58114060b8620fa4c66dc9057a566f6
treebbbf3bf63d0e3468b67bc0dba51e32f217797b47
parent15bf93e1bec63fcf5b48f12a5efe48e5e606827b
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