From: Ulf Samuelsson <u...@emagii.com> Signed-off-by: Ulf Samuelsson <u...@emagii.com> --- drivers/mtd/Kconfig | 2 ++ drivers/mtd/Makefile | 1 + 2 files changed, 3 insertions(+)
diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig index af45ef00da..495211e314 100644 --- a/drivers/mtd/Kconfig +++ b/drivers/mtd/Kconfig @@ -238,6 +238,8 @@ config SYS_MAX_FLASH_BANKS_DETECT to reduce the effective number of flash bank, between 0 and CONFIG_SYS_MAX_FLASH_BANKS +source "drivers/mtd/fpga/Kconfig" + source "drivers/mtd/nand/Kconfig" config SYS_NAND_MAX_OOBFREE diff --git a/drivers/mtd/Makefile b/drivers/mtd/Makefile index 3a78590aaa..d15ca24ec5 100644 --- a/drivers/mtd/Makefile +++ b/drivers/mtd/Makefile @@ -24,6 +24,7 @@ endif obj-y += nand/ obj-y += onenand/ obj-y += spi/ +obj-$(CONFIG_DM_SPI_FPGA) += fpga/ obj-$(CONFIG_MTD_UBI) += ubi/ #SPL/TPL build -- 2.17.1