aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm53xx/config-5.4
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2021-03-10 23:22:18 +0100
committerRafał Miłecki <rafal@milecki.pl>2021-03-17 23:38:46 +0100
commit3ce0d62b39ecbf002623b5f72388a9c54daa521e (patch)
tree868ae82ba7e1f987189eda5b5488d0d10ef8330d /target/linux/bcm53xx/config-5.4
parentd523f61135ea359b9ac17e4086498850df4c2f20 (diff)
downloadupstream-3ce0d62b39ecbf002623b5f72388a9c54daa521e.tar.gz
upstream-3ce0d62b39ecbf002623b5f72388a9c54daa521e.tar.bz2
upstream-3ce0d62b39ecbf002623b5f72388a9c54daa521e.zip
bcm53xx: backport NVMEM NVRAM driver
It supports NVRAM access described using DT binding. Right now NVRAM data is exposed using /sys/bus/nvmem/ only. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> (cherry picked from commit 01b1b375281b77233d65eb0ebda8e4e3a1bd2407)
Diffstat (limited to 'target/linux/bcm53xx/config-5.4')
-rw-r--r--target/linux/bcm53xx/config-5.41
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/bcm53xx/config-5.4 b/target/linux/bcm53xx/config-5.4
index f0c54bbd8e..07a8f85aa0 100644
--- a/target/linux/bcm53xx/config-5.4
+++ b/target/linux/bcm53xx/config-5.4
@@ -271,6 +271,7 @@ CONFIG_NEED_DMA_MAP_STATE=y
CONFIG_NET_FLOW_LIMIT=y
CONFIG_NR_CPUS=2
CONFIG_NVMEM=y
+CONFIG_NVMEM_BRCM_NVRAM=y
CONFIG_NVMEM_SYSFS=y
CONFIG_OF=y
CONFIG_OF_ADDRESS=y