u-boot/arch/sandbox
Sean Anderson bedb182e32 sandbox: net: Add aliases for ethernet devices
Commit f3dd213e15 ("net: introduce helpers to get PHY ofnode from MAC")
changed the ethernet sequence assignment from

uclass 36: ethernet
0   * eth@10002000 @ 05813460, seq 0
1   * eth@10003000 @ 05813550, seq 5
2   * sbe5 @ 05813640, seq 3
3   * eth@10004000 @ 05813730, seq 6
4   * dsa-test-eth @ 05813820, seq 4
5   * lan0 @ 05813a30, seq 2
6   * lan1 @ 05813b50, seq 7

to

uclass 36: ethernet
0   * eth@10002000 @ 03813630, seq 0
1   * eth@10003000 @ 03813720, seq 5
2   * sbe5 @ 03813810, seq 3
3   * eth@10004000 @ 03813900, seq 6
4     phy-test-eth @ 038139f0, seq 7
5   * dsa-test-eth @ 03813ae0, seq 4
6   * lan0 @ 03813cf0, seq 2
7   * lan1 @ 03813e10, seq 8

This caused the mac address assignment to switch around. Avoid this in
the future by assigning aliases for all ethernet devices. This reverts
the sequence to what it was before the aformentioned commit (with
phy-test-eth as seq 8). There is no ethernet1 for whatever reason.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
2022-06-08 13:59:52 -04:00
..
cpu sandbox: Avoid binman error when run without device tree 2022-05-05 09:29:57 -04:00
dts sandbox: net: Add aliases for ethernet devices 2022-06-08 13:59:52 -04:00
include/asm spl: Remove CONFIG_SPL_BOARD_LOAD_IMAGE 2022-06-06 12:09:00 -04:00
lib sandbox: provide /chosen/boot-hartid property 2021-10-21 12:50:48 -06:00
config.mk sandbox: Allow link flags to be given 2022-04-18 17:53:56 -04:00
Kconfig sandbox: Add a build for VPL 2022-05-02 09:58:13 -04:00
Makefile sandbox: fix build failure with musl and SDL 2022-02-09 12:26:12 -07:00