]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: designware: Support high memory nodes
authorNils Le Roux <gilbsgilbert@gmail.com>
Sat, 2 Dec 2023 09:39:49 +0000 (10:39 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 12 Feb 2024 18:41:03 +0000 (13:41 -0500)
commita5f877a0bd64af97dbc812c9a0a8d7d6a353d943
tree046aaaa0c4fdb257cc840efab4bb1c9a05eb0b7c
parent91c37c4a20db24a4fc1d565c70035072d355cce0
net: designware: Support high memory nodes

Some platforms (such as the Lichee Pi 4A) have their dwmac device
addressable only in high memory space. Storing the node's base address
on 32 bits is not possible in such case.

Use platform's physical address type to store the base address.

Signed-off-by: Nils Le Roux <gilbsgilbert@gmail.com>
Cc: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
drivers/net/designware.c