linux-raspberrypi: Build eeprom access into kernel

To better support rpi-eeprom without depending on userland it was
decided to build nvmem-rmem support into the kernel for Raspberry Pi 4
machines.

Signed-off-by: Allan Xavier <mr.a.xavier@googlemail.com>
This commit is contained in:
Allan Xavier 2023-01-17 12:35:45 +00:00 committed by Andrei Gherzan
parent c759b5edf3
commit c9d9582a23
2 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1 @@
CONFIG_NVMEM_RMEM=y

View File

@ -17,6 +17,10 @@ SRC_URI += " \
${@bb.utils.contains("MACHINE_FEATURES", "wm8960", "file://wm8960.cfg", "", d)} \
"
SRC_URI:append:raspberrypi4 = " \
file://rpi4-nvmem.cfg \
"
KCONFIG_MODE = "--alldefconfig"
KBUILD_DEFCONFIG:raspberrypi0-wifi ?= "bcmrpi_defconfig"
KBUILD_DEFCONFIG:raspberrypi ?= "bcmrpi_defconfig"