mvebu: cortex-a72: enable U-Boot NVMEM driver
authorRobert Marko <robimarko@gmail.com>
Fri, 7 Jun 2024 17:43:14 +0000 (19:43 +0200)
committerRobert Marko <robimarko@gmail.com>
Mon, 24 Jun 2024 07:46:19 +0000 (09:46 +0200)
In order to not have to ship envtools configuration per board, we can
instead rely on the kernel U-Boot environment NVMEM driver through which
envtools can read/write the environement.

Since size difference is negligeble and this subtarget has rather large
storage regardless, enable it by default.

Link: https://github.com/openwrt/openwrt/pull/15765
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/mvebu/cortexa72/config-6.6

index ff47af724e65015c6cb830da12d6c7fb3a78517f..cb214b48422cf9f316444326334345fe0a1d10c7 100644 (file)
@@ -76,6 +76,7 @@ CONFIG_NEED_SG_DMA_LENGTH=y
 CONFIG_NVMEM_LAYOUTS=y
 CONFIG_NVMEM_LAYOUT_ONIE_TLV=y
 CONFIG_NVMEM_SYSFS=y
+CONFIG_NVMEM_U_BOOT_ENV=y
 CONFIG_PARTITION_PERCPU=y
 CONFIG_PCIEAER=y
 CONFIG_PCIEPORTBUS=y