Enable the spi-nor module in the PBL to be able to use the helper functions in the PBL. This allows to have SPI NOR flash drivers in the PBL and load barebox proper from flash.
Signed-off-by: Michael Tretter <[email protected]> --- drivers/mtd/spi-nor/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/spi-nor/Makefile b/drivers/mtd/spi-nor/Makefile index 61cf789182fd..54d870a6f45c 100644 --- a/drivers/mtd/spi-nor/Makefile +++ b/drivers/mtd/spi-nor/Makefile @@ -1,4 +1,4 @@ # SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_MTD_SPI_NOR) += spi-nor.o +obj-pbl-$(CONFIG_MTD_SPI_NOR) += spi-nor.o obj-$(CONFIG_SPI_CADENCE_QUADSPI) += cadence-quadspi.o obj-$(CONFIG_SPI_SYNOPSYS_OCTALSPI_NOR) += dw-ospi-nor.o -- 2.47.3
