瀏覽代碼

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 <[email protected]>
Jan-Niklas Burfeind 2 年之前
父節點
當前提交
1e138ca703
共有 2 個文件被更改,包括 1 次插入1 次删除
  1. 1 0
      target/linux/sunxi/config-5.15
  2. 0 1
      target/linux/sunxi/cortexa53/config-5.15

+ 1 - 0
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

+ 0 - 1
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