On Mon, Mar 08, 2021 at 10:03:15AM +0100, Rafał Miłecki wrote:
From: Rafał Miłecki <rafal@milecki.pl>
This patchset refactors driver part finding and reading NVRAM.
It been tested on BCM4706. Updated code checks the same offsets as
before. Driver still finds & copies NVRAM content.
It's a new patchset replacing previous single-patch attempt:
[PATCH V2 mips/linux.git] firmware: bcm47xx_nvram: refactor finding & reading NVRAM
Rafał Miłecki (5):
firmware: bcm47xx_nvram: rename finding function and its variables
firmware: bcm47xx_nvram: add helper checking for NVRAM
firmware: bcm47xx_nvram: extract code copying NVRAM
firmware: bcm47xx_nvram: look for NVRAM with for instead of while
firmware: bcm47xx_nvram: inline code checking NVRAM size
drivers/firmware/broadcom/bcm47xx_nvram.c | 92 ++++++++++++-----------
1 file changed, 47 insertions(+), 45 deletions(-)
series applied to mips-next.
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]