]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: rswitch: Do not register disabled ports as ethernet devices
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Sat, 21 Dec 2024 21:48:19 +0000 (22:48 +0100)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Sun, 22 Dec 2024 21:34:32 +0000 (22:34 +0100)
commit70da4f28592d0a2296b27a9126da97cc3b30891e
tree6757b7c8f06cbe4e1116e76f3383fd821666690f
parent118a10e1ddef895e078e48a0a9755141341e1585
net: rswitch: Do not register disabled ports as ethernet devices

In case an rswitch port is described as disabled in DT, do not
register it as ethernet device in U-Boot. This way, such ports
cannot be accessed from U-Boot command line.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
drivers/net/rswitch.c