commit | 60f37e82b5abea92a680c46e2327a6bc7fabe8e7 | [log] [tgz] |
---|---|---|
author | Pali Rohár <pali@kernel.org> | Fri Apr 08 16:30:14 2022 +0200 |
committer | Stefan Roese <sr@denx.de> | Thu Apr 21 12:31:36 2022 +0200 |
tree | 8ae109f3c64877d8674f74453cf8040a569c4dd1 | |
parent | 8a23da6622ca4152f52b8ff713fb43ae4ba38b04 [diff] |
board: turris: Allow to specify first eth idx of first MAC address Turris Omnia uses first MAC address from OTP for second ethernet interface. Second MAC address for third interface and third MAC address for first interface. Other Turris routers do not have this rotate by one mapping. So add function parameter for specifying id of the first ethernet interface. Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Marek Behún <marek.behun@nic.cz>