From: Steve Best sbest@redhat.com
redhat/configs: turn on the framework for SPI NOR for ARM
Description: Turn on the framework for SPI NOR for ARM. The framework also needs the following configs set
CONFIG_MTD_SPI_NOR_SWP_DISABLE CONFIG_MTD_SPI_NOR_SWP_DISABLE_ON_VOLATILE CONFIG_MTD_SPI_NOR_SWP_KEEP CONFIG_MTD_SPI_NOR_USE_4K_SECTORS CONFIG_SPI_HISI_SFC CONFIG_SPI_MEM CONFIG_SPI_CADENCE_XSPI CONFIG_SPI_SN_F_OSPI
Tested: make dist-configs
Signed-off-by: Steve Best sbest@redhat.com
diff --git a/redhat/configs/rhel/generic/arm/aarch64/CONFIG_MTD_SPI_NOR b/redhat/configs/rhel/generic/arm/aarch64/CONFIG_MTD_SPI_NOR new file mode 100644 index blahblah..blahblah 100644 --- /dev/null +++ b/redhat/configs/rhel/generic/arm/aarch64/CONFIG_MTD_SPI_NOR @@ -0,0 +1 @@ +CONFIG_MTD_SPI_NOR=m diff --git a/redhat/configs/rhel/generic/arm/aarch64/CONFIG_MTD_SPI_NOR_SWP_DISABLE b/redhat/configs/rhel/generic/arm/aarch64/CONFIG_MTD_SPI_NOR_SWP_DISABLE new file mode 100644 index blahblah..blahblah 100644 --- /dev/null +++ b/redhat/configs/rhel/generic/arm/aarch64/CONFIG_MTD_SPI_NOR_SWP_DISABLE @@ -0,0 +1 @@ +# CONFIG_MTD_SPI_NOR_SWP_DISABLE is not set diff --git a/redhat/configs/rhel/generic/arm/aarch64/CONFIG_MTD_SPI_NOR_SWP_DISABLE_ON_VOLATILE b/redhat/configs/rhel/generic/arm/aarch64/CONFIG_MTD_SPI_NOR_SWP_DISABLE_ON_VOLATILE new file mode 100644 index blahblah..blahblah 100644 --- /dev/null +++ b/redhat/configs/rhel/generic/arm/aarch64/CONFIG_MTD_SPI_NOR_SWP_DISABLE_ON_VOLATILE @@ -0,0 +1 @@ +CONFIG_MTD_SPI_NOR_SWP_DISABLE_ON_VOLATILE=y diff --git a/redhat/configs/rhel/generic/arm/aarch64/CONFIG_MTD_SPI_NOR_SWP_KEEP b/redhat/configs/rhel/generic/arm/aarch64/CONFIG_MTD_SPI_NOR_SWP_KEEP new file mode 100644 index blahblah..blahblah 100644 --- /dev/null +++ b/redhat/configs/rhel/generic/arm/aarch64/CONFIG_MTD_SPI_NOR_SWP_KEEP @@ -0,0 +1 @@ +# CONFIG_MTD_SPI_NOR_SWP_KEEP is not set diff --git a/redhat/configs/rhel/generic/arm/aarch64/CONFIG_MTD_SPI_NOR_USE_4K_SECTORS b/redhat/configs/rhel/generic/arm/aarch64/CONFIG_MTD_SPI_NOR_USE_4K_SECTORS new file mode 100644 index blahblah..blahblah 100644 --- /dev/null +++ b/redhat/configs/rhel/generic/arm/aarch64/CONFIG_MTD_SPI_NOR_USE_4K_SECTORS @@ -0,0 +1 @@ +# CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set diff --git a/redhat/configs/rhel/generic/arm/aarch64/CONFIG_SPI_CADENCE_XSPI b/redhat/configs/rhel/generic/arm/aarch64/CONFIG_SPI_CADENCE_XSPI new file mode 100644 index blahblah..blahblah 100644 --- /dev/null +++ b/redhat/configs/rhel/generic/arm/aarch64/CONFIG_SPI_CADENCE_XSPI @@ -0,0 +1 @@ +# CONFIG_SPI_CADENCE_XSPI is not set diff --git a/redhat/configs/rhel/generic/arm/aarch64/CONFIG_SPI_HISI_SFC b/redhat/configs/rhel/generic/arm/aarch64/CONFIG_SPI_HISI_SFC new file mode 100644 index blahblah..blahblah 100644 --- /dev/null +++ b/redhat/configs/rhel/generic/arm/aarch64/CONFIG_SPI_HISI_SFC @@ -0,0 +1 @@ +# CONFIG_SPI_HISI_SFC is not set diff --git a/redhat/configs/rhel/generic/arm/aarch64/CONFIG_SPI_MEM b/redhat/configs/rhel/generic/arm/aarch64/CONFIG_SPI_MEM new file mode 100644 index blahblah..blahblah 100644 --- /dev/null +++ b/redhat/configs/rhel/generic/arm/aarch64/CONFIG_SPI_MEM @@ -0,0 +1 @@ +CONFIG_SPI_MEM=y diff --git a/redhat/configs/rhel/generic/arm/aarch64/CONFIG_SPI_SN_F_OSPI b/redhat/configs/rhel/generic/arm/aarch64/CONFIG_SPI_SN_F_OSPI new file mode 100644 index blahblah..blahblah 100644 --- /dev/null +++ b/redhat/configs/rhel/generic/arm/aarch64/CONFIG_SPI_SN_F_OSPI @@ -0,0 +1 @@ +# CONFIG_SPI_SN_F_OSPI is not set
-- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2635