mbox series

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

Message ID 20210308090320.9765-1-zajec5@gmail.com (mailing list archive)
Headers show
Series firmware: bcm47xx_nvram: refactor finding & reading NVRAM | expand

Message

Rafał Miłecki March 8, 2021, 9:03 a.m. UTC
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(-)

Comments

Thomas Bogendoerfer March 12, 2021, 3 p.m. UTC | #1
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.