bcm63xx: remove memcpy from mac assignment
authorRosen Penev <rosenp@gmail.com>
Tue, 21 Sep 2021 02:23:58 +0000 (19:23 -0700)
committerPaul Spooren <mail@aparcar.org>
Wed, 22 Sep 2021 01:46:19 +0000 (15:46 -1000)
commitf9050f1c435bfc8593eeb689ebde5fd04ff41e66
tree8147478ef46197bdc96220902d595358afa0d370
parent753f2f1eaa3d9e3ceed4fb7580b8de7997c4c07b
bcm63xx: remove memcpy from mac assignment

With GCC11, memcpy doesn't work here as it assumes a size of 0. Use
ioremap to avoid it.

Fixed parameter type to match board_get_mac_address.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
target/linux/bcm63xx/patches-5.10/532-MIPS-BCM63XX-add-inventel-Livebox-support.patch
target/linux/bcm63xx/patches-5.4/532-MIPS-BCM63XX-add-inventel-Livebox-support.patch