firmware: bcm47xx_nvram: extract code copying NVRAM
authorRafał Miłecki <rafal@milecki.pl>
Mon, 8 Mar 2021 09:03:18 +0000 (10:03 +0100)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Fri, 12 Mar 2021 14:53:07 +0000 (15:53 +0100)
commit298923cf999cecd2ef06df126f85a3d68da8c4d8
treef4b45783597c1366375614f62daf8fb7b88a9a91
parent0a24b51a3264a3f942a75025ea5ff6133c8989b0
firmware: bcm47xx_nvram: extract code copying NVRAM

This simplifies function finding NVRAM. It doesn't directly deal with
NVRAM structure anymore and is a bit smaller.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
drivers/firmware/broadcom/bcm47xx_nvram.c