On 06/06/2015 11:16 PM, Rafał Miłecki wrote: > This simplifies code just a bit (also maybe makes it a bit more > intuitive?) and will allow us to stop storing header. Right now we copy > whole NVRAM including its header to the internal buffer. It is not > needed to store a header as we don't access all these details like CRC, > flags, etc. The next improvement that should follow is copying only the > real contents. > > Signed-off-by: Rafał Miłecki <zajec5@xxxxxxxxx> > --- > V2: Extend patch description. > --- > arch/mips/bcm47xx/nvram.c | 37 ++++++++++++++++--------------------- > 1 file changed, 16 insertions(+), 21 deletions(-) > Acked-by: Hauke Mehrtens <hauke@xxxxxxxxxx>