On Thu, 3 Nov 2022 09:25:29 +0100, Linus Walleij <linus.walleij@xxxxxxxxxx> wrote: > From: Rafał Miłecki <rafal@xxxxxxxxxx> > > Provide NVMEM content to the NVRAM driver from a simple > memory resource. This is necessary to use NVRAM in a memory- > mapped flash device. Patch taken from OpenWrts development > tree. > > This patch makes it possible to use memory-mapped NVRAM > on the D-Link DWL-8610AP and the D-Link DIR-890L. > > Cc: Hauke Mehrtens <hauke@xxxxxxxxxx> > Cc: linux-mips@xxxxxxxxxxxxxxx > Cc: Florian Fainelli <f.fainelli@xxxxxxxxx> > Cc: bcm-kernel-feedback-list@xxxxxxxxxxxx > Cc: Thomas Bogendoerfer <tsbogend@xxxxxxxxxxxxxxxx> > Signed-off-by: Rafał Miłecki <rafal@xxxxxxxxxx> > [Added an export for modules potentially using the init symbol] > Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx> > --- Applied to https://github.com/Broadcom/stblinux/commits/drivers/next, thanks! -- Florian