]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: BCM47XX: Use mtd as an alternative way/API to get NVRAM content
authorRafał Miłecki <zajec5@gmail.com>
Wed, 29 Oct 2014 09:05:06 +0000 (10:05 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 24 Nov 2014 06:45:08 +0000 (07:45 +0100)
commit84f9199ec537f55676c95af07f5bd02b852aafa3
tree811919fcf981ec96c185cf563c610147c5dc5fb2
parent70881e9421c8fc6da1484fa62270b92de5834475
MIPS: BCM47XX: Use mtd as an alternative way/API to get NVRAM content

NVRAM can be read using magic memory offset, but after all it's just a
flash partition. On platforms where NVRAM isn't needed early we can get
it using mtd subsystem.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8266/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/bcm47xx/nvram.c