diff options
| author | Jan-Niklas Burfeind <git@aiyionpri.me> | 2022-12-30 03:41:17 +0100 |
|---|---|---|
| committer | Hauke Mehrtens <hauke@hauke-m.de> | 2023-02-26 22:22:48 +0100 |
| commit | 1e138ca70381c71915b7fb918d4294dcb7ba0cb2 (patch) | |
| tree | d127f9de1259b38c24f1b3899ba619264076e8e6 /target/linux | |
| parent | bdd78897c33b25a4954f6e41e26f57bab5284129 (diff) | |
| download | upstream-1e138ca70381c71915b7fb918d4294dcb7ba0cb2.tar.gz upstream-1e138ca70381c71915b7fb918d4294dcb7ba0cb2.tar.bz2 upstream-1e138ca70381c71915b7fb918d4294dcb7ba0cb2.zip | |
sunxi: enable CONFIG_NVMEM_SYSFS
in both the stable and the testing kernel
h2+/h3/h5 devices have a Secure ID that can be read from
`/sys/bus/nvmem/devices/sunxi-sid0/nvmem`.
Enabling CONFIG_NVMEM_SYSFS grants sysfs access from userspace.
Signed-off-by: Jan-Niklas Burfeind <git@aiyionpri.me>
Diffstat (limited to 'target/linux')
| -rw-r--r-- | target/linux/sunxi/config-5.15 | 1 | ||||
| -rw-r--r-- | target/linux/sunxi/cortexa53/config-5.15 | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/sunxi/config-5.15 b/target/linux/sunxi/config-5.15 index c7dbc5a9f1e..17c4d910c8e 100644 --- a/target/linux/sunxi/config-5.15 +++ b/target/linux/sunxi/config-5.15 @@ -307,6 +307,7 @@ CONFIG_NO_HZ_IDLE=y CONFIG_NR_CPUS=8 CONFIG_NVMEM=y CONFIG_NVMEM_SUNXI_SID=y +CONFIG_NVMEM_SYSFS=y CONFIG_OF=y CONFIG_OF_ADDRESS=y CONFIG_OF_EARLY_FLATTREE=y diff --git a/target/linux/sunxi/cortexa53/config-5.15 b/target/linux/sunxi/cortexa53/config-5.15 index b93abf0765b..85ace5d9288 100644 --- a/target/linux/sunxi/cortexa53/config-5.15 +++ b/target/linux/sunxi/cortexa53/config-5.15 @@ -52,7 +52,6 @@ CONFIG_MUSB_PIO_ONLY=y CONFIG_NEED_SG_DMA_LENGTH=y CONFIG_NOP_USB_XCEIV=y CONFIG_NO_IOPORT_MAP=y -CONFIG_NVMEM_SYSFS=y CONFIG_PARTITION_PERCPU=y CONFIG_PHY_SUN50I_USB3=y CONFIG_PINCTRL_SUN50I_A100=y |
