Re: [PATCH mips/linux.git 0/5] firmware: bcm47xx_nvram: refactor finding & reading NVRAM

From: Thomas Bogendoerfer
Date: Fri Mar 12 2021 - 10:04:04 EST


On Mon, Mar 08, 2021 at 10:03:15AM +0100, Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal@xxxxxxxxxx>
>
> 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 ]