diff mbox series

[U-Boot,2/2] configs: ls1028aqds: enable I2C and GPIO DM

Message ID 20190712112320.23994-2-alexandru.marginean@nxp.com
State Superseded
Delegated to: Prabhakar Kushwaha
Headers show
Series [U-Boot,1/2] armv8: ls1028aqds: switch LS1028A QDS board to I2C DM | expand

Commit Message

Alexandru Marginean July 12, 2019, 11:23 a.m. UTC
LS1028A was already converted to I2C/GPIO DM, move the QDS board over too.

Signed-off-by: Alex Marginean <alexm.osslist@gmail.com>
---
 configs/ls1028aqds_tfa_SECURE_BOOT_defconfig | 5 ++++-
 configs/ls1028aqds_tfa_defconfig             | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

Comments

Bin Meng July 13, 2019, 3:47 a.m. UTC | #1
On Fri, Jul 12, 2019 at 7:25 PM Alex Marginean
<alexandru.marginean@nxp.com> wrote:
>
> LS1028A was already converted to I2C/GPIO DM, move the QDS board over too.
>
> Signed-off-by: Alex Marginean <alexm.osslist@gmail.com>
> ---
>  configs/ls1028aqds_tfa_SECURE_BOOT_defconfig | 5 ++++-
>  configs/ls1028aqds_tfa_defconfig             | 5 ++++-
>  2 files changed, 8 insertions(+), 2 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Chuanhua Han July 15, 2019, 2:35 a.m. UTC | #2
Hi,Alex

I have already sent the patch set of ls1028aqds i2c dm. Please check the patchwork link below:
https://patchwork.ozlabs.org/project/uboot/list/?series=118709

thanks,
Chaunhua
> -----Original Message-----
> From: Alex Marginean <alexandru.marginean@nxp.com>
> Sent: 2019年7月12日 19:23
> To: u-boot@lists.denx.de
> Cc: Chuanhua Han <chuanhua.han@nxp.com>; Prabhakar Kushwaha
> <prabhakar.kushwaha@nxp.com>; Alex Marginean <alexm.osslist@gmail.com>
> Subject: [PATCH 2/2] configs: ls1028aqds: enable I2C and GPIO DM
> 
> LS1028A was already converted to I2C/GPIO DM, move the QDS board over too.
> 
> Signed-off-by: Alex Marginean <alexm.osslist@gmail.com>
> ---
>  configs/ls1028aqds_tfa_SECURE_BOOT_defconfig | 5 ++++-
>  configs/ls1028aqds_tfa_defconfig             | 5 ++++-
>  2 files changed, 8 insertions(+), 2 deletions(-)
> 
> diff --git a/configs/ls1028aqds_tfa_SECURE_BOOT_defconfig
> b/configs/ls1028aqds_tfa_SECURE_BOOT_defconfig
> index 4a2b354008..76c9af5ef3 100644
> --- a/configs/ls1028aqds_tfa_SECURE_BOOT_defconfig
> +++ b/configs/ls1028aqds_tfa_SECURE_BOOT_defconfig
> @@ -1,5 +1,6 @@
>  CONFIG_ARM=y
>  CONFIG_TARGET_LS1028AQDS=y
> +CONFIG_SYS_MALLOC_F_LEN=0x6000
>  CONFIG_SECURE_BOOT=y
>  CONFIG_SYS_FSL_SDHC_CLK_DIV=1
>  CONFIG_TFABOOT=y
> @@ -8,7 +9,6 @@ CONFIG_ARMV8_SEC_FIRMWARE_SUPPORT=y
>  CONFIG_SEC_FIRMWARE_ARMV8_PSCI=y
>  CONFIG_AHCI=y
>  CONFIG_DISTRO_DEFAULTS=y
> -# CONFIG_SYS_MALLOC_F is not set
>  CONFIG_FIT_VERBOSE=y
>  CONFIG_OF_BOARD_SETUP=y
>  CONFIG_OF_STDOUT_VIA_ALIAS=y
> @@ -31,6 +31,9 @@ CONFIG_NETCONSOLE=y
>  CONFIG_DM=y
>  CONFIG_SCSI_AHCI=y
>  CONFIG_SATA_CEVA=y
> +CONFIG_DM_GPIO=y
> +CONFIG_DM_I2C=y
> +CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
>  CONFIG_DM_MMC=y
>  CONFIG_FSL_ESDHC=y
>  CONFIG_DM_SPI_FLASH=y
> diff --git a/configs/ls1028aqds_tfa_defconfig
> b/configs/ls1028aqds_tfa_defconfig
> index b315910414..7c98474d73 100644
> --- a/configs/ls1028aqds_tfa_defconfig
> +++ b/configs/ls1028aqds_tfa_defconfig
> @@ -1,5 +1,6 @@
>  CONFIG_ARM=y
>  CONFIG_TARGET_LS1028AQDS=y
> +CONFIG_SYS_MALLOC_F_LEN=0x6000
>  CONFIG_SYS_FSL_SDHC_CLK_DIV=1
>  CONFIG_TFABOOT=y
>  CONFIG_NR_DRAM_BANKS=2
> @@ -7,7 +8,6 @@ CONFIG_ARMV8_SEC_FIRMWARE_SUPPORT=y
>  CONFIG_SEC_FIRMWARE_ARMV8_PSCI=y
>  CONFIG_AHCI=y
>  CONFIG_DISTRO_DEFAULTS=y
> -# CONFIG_SYS_MALLOC_F is not set
>  CONFIG_FIT_VERBOSE=y
>  CONFIG_OF_BOARD_SETUP=y
>  CONFIG_OF_STDOUT_VIA_ALIAS=y
> @@ -34,6 +34,9 @@ CONFIG_DM=y
>  CONFIG_SCSI_AHCI=y
>  CONFIG_SATA_CEVA=y
>  CONFIG_FSL_CAAM=y
> +CONFIG_DM_GPIO=y
> +CONFIG_DM_I2C=y
> +CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
>  CONFIG_DM_MMC=y
>  CONFIG_FSL_ESDHC=y
>  CONFIG_DM_SPI_FLASH=y
> --
> 2.17.1
diff mbox series

Patch

diff --git a/configs/ls1028aqds_tfa_SECURE_BOOT_defconfig b/configs/ls1028aqds_tfa_SECURE_BOOT_defconfig
index 4a2b354008..76c9af5ef3 100644
--- a/configs/ls1028aqds_tfa_SECURE_BOOT_defconfig
+++ b/configs/ls1028aqds_tfa_SECURE_BOOT_defconfig
@@ -1,5 +1,6 @@ 
 CONFIG_ARM=y
 CONFIG_TARGET_LS1028AQDS=y
+CONFIG_SYS_MALLOC_F_LEN=0x6000
 CONFIG_SECURE_BOOT=y
 CONFIG_SYS_FSL_SDHC_CLK_DIV=1
 CONFIG_TFABOOT=y
@@ -8,7 +9,6 @@  CONFIG_ARMV8_SEC_FIRMWARE_SUPPORT=y
 CONFIG_SEC_FIRMWARE_ARMV8_PSCI=y
 CONFIG_AHCI=y
 CONFIG_DISTRO_DEFAULTS=y
-# CONFIG_SYS_MALLOC_F is not set
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_OF_STDOUT_VIA_ALIAS=y
@@ -31,6 +31,9 @@  CONFIG_NETCONSOLE=y
 CONFIG_DM=y
 CONFIG_SCSI_AHCI=y
 CONFIG_SATA_CEVA=y
+CONFIG_DM_GPIO=y
+CONFIG_DM_I2C=y
+CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
 CONFIG_DM_MMC=y
 CONFIG_FSL_ESDHC=y
 CONFIG_DM_SPI_FLASH=y
diff --git a/configs/ls1028aqds_tfa_defconfig b/configs/ls1028aqds_tfa_defconfig
index b315910414..7c98474d73 100644
--- a/configs/ls1028aqds_tfa_defconfig
+++ b/configs/ls1028aqds_tfa_defconfig
@@ -1,5 +1,6 @@ 
 CONFIG_ARM=y
 CONFIG_TARGET_LS1028AQDS=y
+CONFIG_SYS_MALLOC_F_LEN=0x6000
 CONFIG_SYS_FSL_SDHC_CLK_DIV=1
 CONFIG_TFABOOT=y
 CONFIG_NR_DRAM_BANKS=2
@@ -7,7 +8,6 @@  CONFIG_ARMV8_SEC_FIRMWARE_SUPPORT=y
 CONFIG_SEC_FIRMWARE_ARMV8_PSCI=y
 CONFIG_AHCI=y
 CONFIG_DISTRO_DEFAULTS=y
-# CONFIG_SYS_MALLOC_F is not set
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_OF_STDOUT_VIA_ALIAS=y
@@ -34,6 +34,9 @@  CONFIG_DM=y
 CONFIG_SCSI_AHCI=y
 CONFIG_SATA_CEVA=y
 CONFIG_FSL_CAAM=y
+CONFIG_DM_GPIO=y
+CONFIG_DM_I2C=y
+CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
 CONFIG_DM_MMC=y
 CONFIG_FSL_ESDHC=y
 CONFIG_DM_SPI_FLASH=y