diff mbox series

[RESEND,v2] configs: lx2160a: Enable FSPI support

Message ID 1584191621-12054-1-git-send-email-kuldeep.singh@nxp.com
State New
Headers show
Series [RESEND,v2] configs: lx2160a: Enable FSPI support | expand

Commit Message

Kuldeep Singh March 14, 2020, 1:13 p.m. UTC
Enable FSPI controller support. So, flash environment can now be used.

Signed-off-by: Kuldeep Singh <kuldeep.singh at nxp.com>
---
v2:
-Rebased to top.
-Drop other patches from series as already accepted.
-Add ENV_SECT_SIZE value as 0x20000

 configs/lx2160aqds_tfa_SECURE_BOOT_defconfig | 1 +
 configs/lx2160aqds_tfa_defconfig             | 3 +++
 configs/lx2160ardb_tfa_SECURE_BOOT_defconfig | 1 +
 configs/lx2160ardb_tfa_defconfig             | 3 +++
 4 files changed, 8 insertions(+)

Comments

Priyanka Jain (OSS) March 18, 2020, 10:52 a.m. UTC | #1
>-----Original Message-----
>From: U-Boot <u-boot-bounces at lists.denx.de> On Behalf Of Kuldeep Singh
>Sent: Saturday, March 14, 220 6:44 PM
>To: Priyanka Jain <priyanka.jain at nxp.com>; u-boot at lists.denx.de
>Cc: Kuldeep Singh <kuldeep.singh at nxp.com>
>Subject: [RESEND Patch v2] configs: lx2160a: Enable FSPI support
>
>Enable FSPI controller support. So, flash environment can now be used.
>
>Signed-off-by: Kuldeep Singh <kuldeep.singh at nxp.com>
>---
>v2:
>-Rebased to top.
>-Drop other patches from series as already accepted.
>-Add ENV_SECT_SIZE value as 0x20000
>
> configs/lx2160aqds_tfa_SECURE_BOOT_defconfig | 1 +
> configs/lx2160aqds_tfa_defconfig             | 3 +++
> configs/lx2160ardb_tfa_SECURE_BOOT_defconfig | 1 +
> configs/lx2160ardb_tfa_defconfig             | 3 +++
> 4 files changed, 8 insertions(+)
>
>diff --git a/configs/lx2160aqds_tfa_SECURE_BOOT_defconfig
>b/configs/lx2160aqds_tfa_SECURE_BOOT_defconfig
>index 7c3b827..92fac5d 100644
>--- a/configs/lx2160aqds_tfa_SECURE_BOOT_defconfig
>+++ b/configs/lx2160aqds_tfa_SECURE_BOOT_defconfig
>@@ -65,6 +65,7 @@ CONFIG_DM_SERIAL=y
> CONFIG_SPI=y
> CONFIG_DM_SPI=y
> CONFIG_FSL_DSPI=y
>+CONFIG_NXP_FSPI=y
> CONFIG_USB=y
> CONFIG_DM_USB=y
> CONFIG_USB_XHCI_HCD=y
>diff --git a/configs/lx2160aqds_tfa_defconfig
>b/configs/lx2160aqds_tfa_defconfig
>index 449b3cb..e472c12 100644
>--- a/configs/lx2160aqds_tfa_defconfig
>+++ b/configs/lx2160aqds_tfa_defconfig
>@@ -4,6 +4,7 @@ CONFIG_TFABOOT=y
> CONFIG_SYS_TEXT_BASE=0x82000000
> CONFIG_SYS_MALLOC_F_LEN=0x6000
> CONFIG_ENV_SIZE=0x2000
>+CONFIG_ENV_SECT_SIZE=0x20000
> CONFIG_ENV_OFFSET=0x500000
> CONFIG_DM_GPIO=y
> CONFIG_FSPI_AHB_EN_4BYTE=y
>@@ -32,6 +33,7 @@ CONFIG_OF_CONTROL=y
> CONFIG_OF_BOARD_FIXUP=y
> CONFIG_DEFAULT_DEVICE_TREE="fsl-lx2160a-qds"
> CONFIG_ENV_IS_IN_MMC=y
>+CONFIG_ENV_IS_IN_SPI_FLASH=y
> CONFIG_NET_RANDOM_ETHADDR=y
> CONFIG_DM=y
> CONFIG_SATA_CEVA=y
>@@ -65,6 +67,7 @@ CONFIG_DM_SCSI=y
> CONFIG_DM_SERIAL=y
> CONFIG_SPI=y
> CONFIG_DM_SPI=y
>+CONFIG_NXP_FSPI=y
> CONFIG_USB=y
> CONFIG_DM_USB=y
> CONFIG_USB_XHCI_HCD=y
>diff --git a/configs/lx2160ardb_tfa_SECURE_BOOT_defconfig
>b/configs/lx2160ardb_tfa_SECURE_BOOT_defconfig
>index d1fffb3..e754eb7 100644
>--- a/configs/lx2160ardb_tfa_SECURE_BOOT_defconfig
>+++ b/configs/lx2160ardb_tfa_SECURE_BOOT_defconfig
>@@ -60,6 +60,7 @@ CONFIG_DM_SCSI=y
> CONFIG_DM_SERIAL=y
> CONFIG_SPI=y
> CONFIG_DM_SPI=y
>+CONFIG_NXP_FSPI=y
> CONFIG_USB=y
> CONFIG_DM_USB=y
> CONFIG_USB_XHCI_HCD=y
>diff --git a/configs/lx2160ardb_tfa_defconfig
>b/configs/lx2160ardb_tfa_defconfig
>index 93f3e20..5d4580e 100644
>--- a/configs/lx2160ardb_tfa_defconfig
>+++ b/configs/lx2160ardb_tfa_defconfig
>@@ -4,6 +4,7 @@ CONFIG_TFABOOT=y
> CONFIG_SYS_TEXT_BASE=0x82000000
> CONFIG_SYS_MALLOC_F_LEN=0x6000
> CONFIG_ENV_SIZE=0x2000
>+CONFIG_ENV_SECT_SIZE=0x20000
> CONFIG_ENV_OFFSET=0x500000
> CONFIG_DM_GPIO=y
> CONFIG_EMC2305=y
>@@ -33,6 +34,7 @@ CONFIG_OF_CONTROL=y
> CONFIG_OF_BOARD_FIXUP=y
> CONFIG_DEFAULT_DEVICE_TREE="fsl-lx2160a-rdb"
> CONFIG_ENV_IS_IN_MMC=y
>+CONFIG_ENV_IS_IN_SPI_FLASH=y
> CONFIG_NET_RANDOM_ETHADDR=y
> CONFIG_DM=y
> CONFIG_SATA_CEVA=y
>@@ -64,6 +66,7 @@ CONFIG_DM_SCSI=y
> CONFIG_DM_SERIAL=y
> CONFIG_SPI=y
> CONFIG_DM_SPI=y
>+CONFIG_NXP_FSPI=y
> CONFIG_USB=y
> CONFIG_DM_USB=y
> CONFIG_USB_XHCI_HCD=y
>--
>2.7.4
Reviewed-by: Priyanka Jain <priyanka.jain at nxp.com>

Please confirm that all dependent patches are now available in main master branch

Regards
Priyanka
Kuldeep Singh March 18, 2020, 11:44 a.m. UTC | #2
> -----Original Message-----
> From: Priyanka Jain (OSS) <priyanka.jain at oss.nxp.com>
> Sent: Wednesday, March 18, 2020 4:22 PM
> To: Kuldeep Singh <kuldeep.singh at nxp.com>; u-boot at lists.denx.de
> Cc: Kuldeep Singh <kuldeep.singh at nxp.com>
> Subject: RE: [RESEND Patch v2] configs: lx2160a: Enable FSPI support
> 
> >-----Original Message-----
> >From: U-Boot <u-boot-bounces at lists.denx.de> On Behalf Of Kuldeep
> Singh
> >Sent: Saturday, March 14, 220 6:44 PM
> >To: Priyanka Jain <priyanka.jain at nxp.com>; u-boot at lists.denx.de
> >Cc: Kuldeep Singh <kuldeep.singh at nxp.com>
> >Subject: [RESEND Patch v2] configs: lx2160a: Enable FSPI support
> >
> >Enable FSPI controller support. So, flash environment can now be used.
> >
> >Signed-off-by: Kuldeep Singh <kuldeep.singh at nxp.com>
> >---
> >v2:
> >-Rebased to top.
> >-Drop other patches from series as already accepted.
> >-Add ENV_SECT_SIZE value as 0x20000
> >
> > configs/lx2160aqds_tfa_SECURE_BOOT_defconfig | 1 +
> > configs/lx2160aqds_tfa_defconfig             | 3 +++
> > configs/lx2160ardb_tfa_SECURE_BOOT_defconfig | 1 +
> > configs/lx2160ardb_tfa_defconfig             | 3 +++
> > 4 files changed, 8 insertions(+)
> >
> >diff --git a/configs/lx2160aqds_tfa_SECURE_BOOT_defconfig
> >b/configs/lx2160aqds_tfa_SECURE_BOOT_defconfig
> >index 7c3b827..92fac5d 100644
> >--- a/configs/lx2160aqds_tfa_SECURE_BOOT_defconfig
> >+++ b/configs/lx2160aqds_tfa_SECURE_BOOT_defconfig
> >@@ -65,6 +65,7 @@ CONFIG_DM_SERIAL=y
> > CONFIG_SPI=y
> > CONFIG_DM_SPI=y
> > CONFIG_FSL_DSPI=y
> >+CONFIG_NXP_FSPI=y
> > CONFIG_USB=y
> > CONFIG_DM_USB=y
> > CONFIG_USB_XHCI_HCD=y
> >diff --git a/configs/lx2160aqds_tfa_defconfig
> >b/configs/lx2160aqds_tfa_defconfig
> >index 449b3cb..e472c12 100644
> >--- a/configs/lx2160aqds_tfa_defconfig
> >+++ b/configs/lx2160aqds_tfa_defconfig
> >@@ -4,6 +4,7 @@ CONFIG_TFABOOT=y
> > CONFIG_SYS_TEXT_BASE=0x82000000
> > CONFIG_SYS_MALLOC_F_LEN=0x6000
> > CONFIG_ENV_SIZE=0x2000
> >+CONFIG_ENV_SECT_SIZE=0x20000
> > CONFIG_ENV_OFFSET=0x500000
> > CONFIG_DM_GPIO=y
> > CONFIG_FSPI_AHB_EN_4BYTE=y
> >@@ -32,6 +33,7 @@ CONFIG_OF_CONTROL=y
> > CONFIG_OF_BOARD_FIXUP=y
> > CONFIG_DEFAULT_DEVICE_TREE="fsl-lx2160a-qds"
> > CONFIG_ENV_IS_IN_MMC=y
> >+CONFIG_ENV_IS_IN_SPI_FLASH=y
> > CONFIG_NET_RANDOM_ETHADDR=y
> > CONFIG_DM=y
> > CONFIG_SATA_CEVA=y
> >@@ -65,6 +67,7 @@ CONFIG_DM_SCSI=y
> > CONFIG_DM_SERIAL=y
> > CONFIG_SPI=y
> > CONFIG_DM_SPI=y
> >+CONFIG_NXP_FSPI=y
> > CONFIG_USB=y
> > CONFIG_DM_USB=y
> > CONFIG_USB_XHCI_HCD=y
> >diff --git a/configs/lx2160ardb_tfa_SECURE_BOOT_defconfig
> >b/configs/lx2160ardb_tfa_SECURE_BOOT_defconfig
> >index d1fffb3..e754eb7 100644
> >--- a/configs/lx2160ardb_tfa_SECURE_BOOT_defconfig
> >+++ b/configs/lx2160ardb_tfa_SECURE_BOOT_defconfig
> >@@ -60,6 +60,7 @@ CONFIG_DM_SCSI=y
> > CONFIG_DM_SERIAL=y
> > CONFIG_SPI=y
> > CONFIG_DM_SPI=y
> >+CONFIG_NXP_FSPI=y
> > CONFIG_USB=y
> > CONFIG_DM_USB=y
> > CONFIG_USB_XHCI_HCD=y
> >diff --git a/configs/lx2160ardb_tfa_defconfig
> >b/configs/lx2160ardb_tfa_defconfig
> >index 93f3e20..5d4580e 100644
> >--- a/configs/lx2160ardb_tfa_defconfig
> >+++ b/configs/lx2160ardb_tfa_defconfig
> >@@ -4,6 +4,7 @@ CONFIG_TFABOOT=y
> > CONFIG_SYS_TEXT_BASE=0x82000000
> > CONFIG_SYS_MALLOC_F_LEN=0x6000
> > CONFIG_ENV_SIZE=0x2000
> >+CONFIG_ENV_SECT_SIZE=0x20000
> > CONFIG_ENV_OFFSET=0x500000
> > CONFIG_DM_GPIO=y
> > CONFIG_EMC2305=y
> >@@ -33,6 +34,7 @@ CONFIG_OF_CONTROL=y
> > CONFIG_OF_BOARD_FIXUP=y
> > CONFIG_DEFAULT_DEVICE_TREE="fsl-lx2160a-rdb"
> > CONFIG_ENV_IS_IN_MMC=y
> >+CONFIG_ENV_IS_IN_SPI_FLASH=y
> > CONFIG_NET_RANDOM_ETHADDR=y
> > CONFIG_DM=y
> > CONFIG_SATA_CEVA=y
> >@@ -64,6 +66,7 @@ CONFIG_DM_SCSI=y
> > CONFIG_DM_SERIAL=y
> > CONFIG_SPI=y
> > CONFIG_DM_SPI=y
> >+CONFIG_NXP_FSPI=y
> > CONFIG_USB=y
> > CONFIG_DM_USB=y
> > CONFIG_USB_XHCI_HCD=y
> >--
> >2.7.4
> Reviewed-by: Priyanka Jain <priyanka.jain at nxp.com>
> 
> Please confirm that all dependent patches are now available in main master
> branch

Yes, all dependent patches are in master branch to make flexspi work on LX2160ARDB.

Thanks
Kuldeep

> 
> Regards
> Priyanka
Kuldeep Singh March 18, 2020, 12:07 p.m. UTC | #3
> -----Original Message-----
> From: Kuldeep Singh
> Sent: Wednesday, March 18, 2020 5:15 PM
> To: Priyanka Jain (OSS) <priyanka.jain at oss.nxp.com>; u-boot at lists.denx.de
> Subject: RE: [RESEND Patch v2] configs: lx2160a: Enable FSPI support
> 
> 
> 
> > -----Original Message-----
> > From: Priyanka Jain (OSS) <priyanka.jain at oss.nxp.com>
> > Sent: Wednesday, March 18, 2020 4:22 PM
> > To: Kuldeep Singh <kuldeep.singh at nxp.com>; u-boot at lists.denx.de
> > Cc: Kuldeep Singh <kuldeep.singh at nxp.com>
> > Subject: RE: [RESEND Patch v2] configs: lx2160a: Enable FSPI support
> >
> > >-----Original Message-----
> > >From: U-Boot <u-boot-bounces at lists.denx.de> On Behalf Of Kuldeep
> > Singh
> > >Sent: Saturday, March 14, 220 6:44 PM
> > >To: Priyanka Jain <priyanka.jain at nxp.com>; u-boot at lists.denx.de
> > >Cc: Kuldeep Singh <kuldeep.singh at nxp.com>
> > >Subject: [RESEND Patch v2] configs: lx2160a: Enable FSPI support
> > >
> > >Enable FSPI controller support. So, flash environment can now be used.
> > >
> > >Signed-off-by: Kuldeep Singh <kuldeep.singh at nxp.com>
> > >---
> > >v2:
> > >-Rebased to top.
> > >-Drop other patches from series as already accepted.
> > >-Add ENV_SECT_SIZE value as 0x20000
> > >
> > > configs/lx2160aqds_tfa_SECURE_BOOT_defconfig | 1 +
> > > configs/lx2160aqds_tfa_defconfig             | 3 +++
> > > configs/lx2160ardb_tfa_SECURE_BOOT_defconfig | 1 +
> > > configs/lx2160ardb_tfa_defconfig             | 3 +++
> > > 4 files changed, 8 insertions(+)
> > >
> > >diff --git a/configs/lx2160aqds_tfa_SECURE_BOOT_defconfig
> > >b/configs/lx2160aqds_tfa_SECURE_BOOT_defconfig
> > >index 7c3b827..92fac5d 100644
> > >--- a/configs/lx2160aqds_tfa_SECURE_BOOT_defconfig
> > >+++ b/configs/lx2160aqds_tfa_SECURE_BOOT_defconfig
> > >@@ -65,6 +65,7 @@ CONFIG_DM_SERIAL=y
> > > CONFIG_SPI=y
> > > CONFIG_DM_SPI=y
> > > CONFIG_FSL_DSPI=y
> > >+CONFIG_NXP_FSPI=y
> > > CONFIG_USB=y
> > > CONFIG_DM_USB=y
> > > CONFIG_USB_XHCI_HCD=y
> > >diff --git a/configs/lx2160aqds_tfa_defconfig
> > >b/configs/lx2160aqds_tfa_defconfig
> > >index 449b3cb..e472c12 100644
> > >--- a/configs/lx2160aqds_tfa_defconfig
> > >+++ b/configs/lx2160aqds_tfa_defconfig
> > >@@ -4,6 +4,7 @@ CONFIG_TFABOOT=y
> > > CONFIG_SYS_TEXT_BASE=0x82000000
> > > CONFIG_SYS_MALLOC_F_LEN=0x6000
> > > CONFIG_ENV_SIZE=0x2000
> > >+CONFIG_ENV_SECT_SIZE=0x20000
> > > CONFIG_ENV_OFFSET=0x500000
> > > CONFIG_DM_GPIO=y
> > > CONFIG_FSPI_AHB_EN_4BYTE=y
> > >@@ -32,6 +33,7 @@ CONFIG_OF_CONTROL=y
> CONFIG_OF_BOARD_FIXUP=y
> > >CONFIG_DEFAULT_DEVICE_TREE="fsl-lx2160a-qds"
> > > CONFIG_ENV_IS_IN_MMC=y
> > >+CONFIG_ENV_IS_IN_SPI_FLASH=y
> > > CONFIG_NET_RANDOM_ETHADDR=y
> > > CONFIG_DM=y
> > > CONFIG_SATA_CEVA=y
> > >@@ -65,6 +67,7 @@ CONFIG_DM_SCSI=y
> > > CONFIG_DM_SERIAL=y
> > > CONFIG_SPI=y
> > > CONFIG_DM_SPI=y
> > >+CONFIG_NXP_FSPI=y
> > > CONFIG_USB=y
> > > CONFIG_DM_USB=y
> > > CONFIG_USB_XHCI_HCD=y
> > >diff --git a/configs/lx2160ardb_tfa_SECURE_BOOT_defconfig
> > >b/configs/lx2160ardb_tfa_SECURE_BOOT_defconfig
> > >index d1fffb3..e754eb7 100644
> > >--- a/configs/lx2160ardb_tfa_SECURE_BOOT_defconfig
> > >+++ b/configs/lx2160ardb_tfa_SECURE_BOOT_defconfig
> > >@@ -60,6 +60,7 @@ CONFIG_DM_SCSI=y
> > > CONFIG_DM_SERIAL=y
> > > CONFIG_SPI=y
> > > CONFIG_DM_SPI=y
> > >+CONFIG_NXP_FSPI=y
> > > CONFIG_USB=y
> > > CONFIG_DM_USB=y
> > > CONFIG_USB_XHCI_HCD=y
> > >diff --git a/configs/lx2160ardb_tfa_defconfig
> > >b/configs/lx2160ardb_tfa_defconfig
> > >index 93f3e20..5d4580e 100644
> > >--- a/configs/lx2160ardb_tfa_defconfig
> > >+++ b/configs/lx2160ardb_tfa_defconfig
> > >@@ -4,6 +4,7 @@ CONFIG_TFABOOT=y
> > > CONFIG_SYS_TEXT_BASE=0x82000000
> > > CONFIG_SYS_MALLOC_F_LEN=0x6000
> > > CONFIG_ENV_SIZE=0x2000
> > >+CONFIG_ENV_SECT_SIZE=0x20000
> > > CONFIG_ENV_OFFSET=0x500000
> > > CONFIG_DM_GPIO=y
> > > CONFIG_EMC2305=y
> > >@@ -33,6 +34,7 @@ CONFIG_OF_CONTROL=y
> CONFIG_OF_BOARD_FIXUP=y
> > >CONFIG_DEFAULT_DEVICE_TREE="fsl-lx2160a-rdb"
> > > CONFIG_ENV_IS_IN_MMC=y
> > >+CONFIG_ENV_IS_IN_SPI_FLASH=y
> > > CONFIG_NET_RANDOM_ETHADDR=y
> > > CONFIG_DM=y
> > > CONFIG_SATA_CEVA=y
> > >@@ -64,6 +66,7 @@ CONFIG_DM_SCSI=y
> > > CONFIG_DM_SERIAL=y
> > > CONFIG_SPI=y
> > > CONFIG_DM_SPI=y
> > >+CONFIG_NXP_FSPI=y
> > > CONFIG_USB=y
> > > CONFIG_DM_USB=y
> > > CONFIG_USB_XHCI_HCD=y
> > >--
> > >2.7.4
> > Reviewed-by: Priyanka Jain <priyanka.jain at nxp.com>
> >
> > Please confirm that all dependent patches are now available in main
> > master branch
> 
> Yes, all dependent patches are in master branch to make flexspi work on
> LX2160ARDB.

Please find bundle link for flexspi patches.
Link: https://patchwork.ozlabs.org/bundle/kuldeep/flexspi/
This bundle also include last 2 patches(octal bus-width) of series https://patchwork.ozlabs.org/project/uboot/list/?series=164377
Since 1st is not accepted by Jagan, single I/O mode will be set right now and with merger of 1st patch, octal I/O will be used.
So, there's no harm in going with these 2 patches.

Thanks
Kuldeep

> 
> Thanks
> Kuldeep
> 
> >
> > Regards
> > Priyanka
Priyanka Jain (OSS) March 30, 2020, 12:31 p.m. UTC | #4
>-----Original Message-----
>From: U-Boot <u-boot-bounces at lists.denx.de> On Behalf Of Kuldeep Singh
>Sent: Saturday, March 14, 2020 6:44 PM
>To: Priyanka Jain <priyanka.jain at nxp.com>; u-boot at lists.denx.de
>Cc: Kuldeep Singh <kuldeep.singh at nxp.com>
>Subject: [RESEND Patch v2] configs: lx2160a: Enable FSPI support
>
>Enable FSPI controller support. So, flash environment can now be used.
>
>Signed-off-by: Kuldeep Singh <kuldeep.singh at nxp.com>
>---
Applied to u-boot-fsl-qoriq. Waiting upstream

Thanks
Priyanka
diff mbox series

Patch

diff --git a/configs/lx2160aqds_tfa_SECURE_BOOT_defconfig b/configs/lx2160aqds_tfa_SECURE_BOOT_defconfig
index 7c3b827..92fac5d 100644
--- a/configs/lx2160aqds_tfa_SECURE_BOOT_defconfig
+++ b/configs/lx2160aqds_tfa_SECURE_BOOT_defconfig
@@ -65,6 +65,7 @@  CONFIG_DM_SERIAL=y
 CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_DSPI=y
+CONFIG_NXP_FSPI=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
diff --git a/configs/lx2160aqds_tfa_defconfig b/configs/lx2160aqds_tfa_defconfig
index 449b3cb..e472c12 100644
--- a/configs/lx2160aqds_tfa_defconfig
+++ b/configs/lx2160aqds_tfa_defconfig
@@ -4,6 +4,7 @@  CONFIG_TFABOOT=y
 CONFIG_SYS_TEXT_BASE=0x82000000
 CONFIG_SYS_MALLOC_F_LEN=0x6000
 CONFIG_ENV_SIZE=0x2000
+CONFIG_ENV_SECT_SIZE=0x20000
 CONFIG_ENV_OFFSET=0x500000
 CONFIG_DM_GPIO=y
 CONFIG_FSPI_AHB_EN_4BYTE=y
@@ -32,6 +33,7 @@  CONFIG_OF_CONTROL=y
 CONFIG_OF_BOARD_FIXUP=y
 CONFIG_DEFAULT_DEVICE_TREE="fsl-lx2160a-qds"
 CONFIG_ENV_IS_IN_MMC=y
+CONFIG_ENV_IS_IN_SPI_FLASH=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_DM=y
 CONFIG_SATA_CEVA=y
@@ -65,6 +67,7 @@  CONFIG_DM_SCSI=y
 CONFIG_DM_SERIAL=y
 CONFIG_SPI=y
 CONFIG_DM_SPI=y
+CONFIG_NXP_FSPI=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
diff --git a/configs/lx2160ardb_tfa_SECURE_BOOT_defconfig b/configs/lx2160ardb_tfa_SECURE_BOOT_defconfig
index d1fffb3..e754eb7 100644
--- a/configs/lx2160ardb_tfa_SECURE_BOOT_defconfig
+++ b/configs/lx2160ardb_tfa_SECURE_BOOT_defconfig
@@ -60,6 +60,7 @@  CONFIG_DM_SCSI=y
 CONFIG_DM_SERIAL=y
 CONFIG_SPI=y
 CONFIG_DM_SPI=y
+CONFIG_NXP_FSPI=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
diff --git a/configs/lx2160ardb_tfa_defconfig b/configs/lx2160ardb_tfa_defconfig
index 93f3e20..5d4580e 100644
--- a/configs/lx2160ardb_tfa_defconfig
+++ b/configs/lx2160ardb_tfa_defconfig
@@ -4,6 +4,7 @@  CONFIG_TFABOOT=y
 CONFIG_SYS_TEXT_BASE=0x82000000
 CONFIG_SYS_MALLOC_F_LEN=0x6000
 CONFIG_ENV_SIZE=0x2000
+CONFIG_ENV_SECT_SIZE=0x20000
 CONFIG_ENV_OFFSET=0x500000
 CONFIG_DM_GPIO=y
 CONFIG_EMC2305=y
@@ -33,6 +34,7 @@  CONFIG_OF_CONTROL=y
 CONFIG_OF_BOARD_FIXUP=y
 CONFIG_DEFAULT_DEVICE_TREE="fsl-lx2160a-rdb"
 CONFIG_ENV_IS_IN_MMC=y
+CONFIG_ENV_IS_IN_SPI_FLASH=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_DM=y
 CONFIG_SATA_CEVA=y
@@ -64,6 +66,7 @@  CONFIG_DM_SCSI=y
 CONFIG_DM_SERIAL=y
 CONFIG_SPI=y
 CONFIG_DM_SPI=y
+CONFIG_NXP_FSPI=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y