[PATCH v2] arm64: defconfig: Enable SPI NAND flashes

From: Santhosh Kumar K
Date: Wed Jan 15 2025 - 22:52:41 EST


Add support for SPI NAND flashes on ARM64 boards/EVMs such as:

1. W35N01JW on AM62x LP SK, AM62A7 SK, J721S2 EVM, J784S4 EVM,
J722S EVM, J742S2 EVM
2. W25N01JW on AM62Lx EVM

by enabling the MTD_SPI_NAND config as a module.

Signed-off-by: Santhosh Kumar K <s-k6@xxxxxx>
---

Changes in v2:
- Fix commit message
- Rebase on next
- Link to v1: https://lore.kernel.org/linux-arm-kernel/20250102120043.1404843-1-s-k6@xxxxxx/

Repo: https://github.com/santhosh21/linux/tree/uL_next
Test results: https://gist.github.com/santhosh21/71ab6646dccc238a0b3c47c0382f219a

---
arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index e729948b7d69..35f312a39e38 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -283,6 +283,7 @@ CONFIG_MTD_NAND_BRCMNAND=m
CONFIG_MTD_NAND_FSL_IFC=y
CONFIG_MTD_NAND_QCOM=y
CONFIG_MTD_SPI_NOR=y
+CONFIG_MTD_SPI_NAND=m
CONFIG_MTD_UBI=m
CONFIG_MTD_HYPERBUS=m
CONFIG_HBMC_AM654=m
--
2.34.1