[openwrt/openwrt] mvebu: cortex-a72: enable U-Boot NVMEM driver

LEDE Commits lede-commits at lists.infradead.org
Mon Jun 24 00:46:31 PDT 2024


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/62fa12e3c933dfe88b03fc0c89dadcd09a532cf8

commit 62fa12e3c933dfe88b03fc0c89dadcd09a532cf8
Author: Robert Marko <robimarko at gmail.com>
AuthorDate: Fri Jun 7 19:43:14 2024 +0200

    mvebu: cortex-a72: enable U-Boot NVMEM driver
    
    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 at gmail.com>
---
 target/linux/mvebu/cortexa72/config-6.6 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/linux/mvebu/cortexa72/config-6.6 b/target/linux/mvebu/cortexa72/config-6.6
index ff47af724e..cb214b4842 100644
--- a/target/linux/mvebu/cortexa72/config-6.6
+++ b/target/linux/mvebu/cortexa72/config-6.6
@@ -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




More information about the lede-commits mailing list