diff mbox series

[06/15] arm64: defconfig: Enable NXP/FSL SPI controller drivers

Message ID 1582585690-463-7-git-send-email-leoyang.li@nxp.com (mailing list archive)
State Mainlined
Commit dd3372f37ce1c807df0866ad51e52d8a7e2200d1
Headers show
Series Enable drivers for NXP/FSL QorIQ arm64 boards | expand

Commit Message

Leo Li Feb. 24, 2020, 11:08 p.m. UTC
Enables SPI controller drivers used in various NXP/FSL SoCs.

Enabled as built-in to load RFS from SPI flash without requiring
initramfs.

Signed-off-by: Li Yang <leoyang.li@nxp.com>
---
 arch/arm64/configs/defconfig | 3 +++
 1 file changed, 3 insertions(+)

Comments

Shawn Guo March 11, 2020, 5:51 a.m. UTC | #1
On Mon, Feb 24, 2020 at 05:08:01PM -0600, Li Yang wrote:
> Enables SPI controller drivers used in various NXP/FSL SoCs.
> 
> Enabled as built-in to load RFS from SPI flash without requiring
> initramfs.

RootFS on SPI flash?  On which platforms?

Shawn

> 
> Signed-off-by: Li Yang <leoyang.li@nxp.com>
> ---
>  arch/arm64/configs/defconfig | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> index 7390c8f3838d..e97ef8b944b8 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -398,8 +398,11 @@ CONFIG_SPI=y
>  CONFIG_SPI_ARMADA_3700=y
>  CONFIG_SPI_BCM2835=m
>  CONFIG_SPI_BCM2835AUX=m
> +CONFIG_SPI_FSL_LPSPI=y
> +CONFIG_SPI_FSL_QUADSPI=y
>  CONFIG_SPI_NXP_FLEXSPI=y
>  CONFIG_SPI_IMX=m
> +CONFIG_SPI_FSL_DSPI=y
>  CONFIG_SPI_MESON_SPICC=m
>  CONFIG_SPI_MESON_SPIFC=m
>  CONFIG_SPI_ORION=y
> -- 
> 2.17.1
>
Shawn Guo March 11, 2020, 7:06 a.m. UTC | #2
On Wed, Mar 11, 2020 at 01:24:07AM -0500, Li Yang wrote:
> On Wed, Mar 11, 2020 at 12:52 AM Shawn Guo <shawnguo@kernel.org> wrote:
> 
> > On Mon, Feb 24, 2020 at 05:08:01PM -0600, Li Yang wrote:
> > > Enables SPI controller drivers used in various NXP/FSL SoCs.
> > >
> > > Enabled as built-in to load RFS from SPI flash without requiring
> > > initramfs.
> >
> > RootFS on SPI flash?  On which platforms?
> 
> 
> QSPI is fast enough to connect big flash for file system.  It is used to
> connect 512MB NAND flash and 256MB NOR flash on LS1028RDB.  It is used as
> bootsource for other platforms like LS2080ardb too.

Please put this info into commit log.

Shawn
diff mbox series

Patch

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 7390c8f3838d..e97ef8b944b8 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -398,8 +398,11 @@  CONFIG_SPI=y
 CONFIG_SPI_ARMADA_3700=y
 CONFIG_SPI_BCM2835=m
 CONFIG_SPI_BCM2835AUX=m
+CONFIG_SPI_FSL_LPSPI=y
+CONFIG_SPI_FSL_QUADSPI=y
 CONFIG_SPI_NXP_FLEXSPI=y
 CONFIG_SPI_IMX=m
+CONFIG_SPI_FSL_DSPI=y
 CONFIG_SPI_MESON_SPICC=m
 CONFIG_SPI_MESON_SPIFC=m
 CONFIG_SPI_ORION=y