[PATCH 1/1] riscv: dts: spacemit: set ETH MAC from eeprom for OrangePi

Chukun Pan amadeus at jmu.edu.cn
Tue Sep 22 23:40:20 PDT 2026


Hi,

> So checked the code, it's not a direct problem of /alias, but due to the
> env variable provided to override the mac address, see

> In this case, I don't think it's necessary to drop the ethernet alias,
> I mean it's totally fine if there is uboot ethaddr env and it wins

Once U-Boot overwrites the MAC address in the DT, of_get_mac_address()
will return 0, and of_get_mac_address_nvmem() will not be called.
Then I think this patch is useless.

Thanks,
Chukun



More information about the linux-riscv mailing list