[PATCH v3] ppc/km: enable DM driver support in all defconfigs

Priyanka Jain priyanka.jain at nxp.com
Tue Dec 24 11:33:20 CET 2019



>-----Original Message-----
>From: Holger Brunck <holger.brunck at ch.abb.com>
>Sent: Monday, November 25, 2019 2:35 PM
>To: u-boot at lists.denx.de
>Cc: Holger Brunck <holger.brunck at ch.abb.com>; Mario Six
><mario.six at gdsys.cc>; Wolfgang Denk <wd at denx.de>; Valentin Longchamp
><valentin.longchamp at ch.abb.com>; Priyanka Jain <priyanka.jain at nxp.com>
>Subject: [PATCH v3] ppc/km: enable DM driver support in all defconfigs
>
>This is the first step to use DM support for the KM powerpc boards.
>
>Signed-off-by: Holger Brunck <holger.brunck at ch.abb.com>
>CC: Mario Six <mario.six at gdsys.cc>
>CC: Wolfgang Denk <wd at denx.de>
>CC: Valentin Longchamp <valentin.longchamp at ch.abb.com>
>CC: Priyanka Jain <priyanka.jain at nxp.com>
>---
>Changes for v3:
>  - rebase on latest master
>Changes for v2:
>  - fix typo in e-mail address
>
> configs/kmcoge4_defconfig   | 2 ++
> configs/kmcoge5ne_defconfig | 2 ++
> configs/kmeter1_defconfig   | 2 ++
> configs/kmopti2_defconfig   | 2 ++
> configs/kmsupx5_defconfig   | 2 ++
> configs/kmtegr1_defconfig   | 2 ++
> configs/kmtepr2_defconfig   | 2 ++
> configs/suvd3_defconfig     | 2 ++
> configs/tuge1_defconfig     | 2 ++
> configs/tuxx1_defconfig     | 2 ++
> 10 files changed, 20 insertions(+)
>
>diff --git a/configs/kmcoge4_defconfig b/configs/kmcoge4_defconfig index
>ad2de2cd62..1635a51e7c 100644
>--- a/configs/kmcoge4_defconfig
>+++ b/configs/kmcoge4_defconfig
>@@ -6,6 +6,7 @@ CONFIG_SYS_BOOTCOUNT_ADDR=0xFB000020
> CONFIG_ENV_SECT_SIZE=0x10000
> CONFIG_MPC85xx=y
> CONFIG_TARGET_KMP204X=y
>+# CONFIG_SYS_MALLOC_F is not set
> CONFIG_FIT=y
> CONFIG_FIT_VERBOSE=y
> CONFIG_OF_BOARD_SETUP=y
>@@ -42,6 +43,7 @@ CONFIG_ENV_IS_IN_SPI_FLASH=y
>CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
> CONFIG_ENV_OFFSET_REDUND=0x110000
> CONFIG_SYS_RELOC_GD_ENV_ADDR=y
>+CONFIG_DM=y
> CONFIG_BOOTCOUNT_LIMIT=y
> CONFIG_BOOTCOUNT_BOOTLIMIT=3
> # CONFIG_MMC is not set
>diff --git a/configs/kmcoge5ne_defconfig b/configs/kmcoge5ne_defconfig
>index 0d41396c25..472dc88fbf 100644
>--- a/configs/kmcoge5ne_defconfig
>+++ b/configs/kmcoge5ne_defconfig
>@@ -154,6 +154,7 @@ CONFIG_ACR_PARKM_USB_I2C1_BOOT=y
>CONFIG_LCRR_DBYP_PLL_BYPASSED=y  CONFIG_LCRR_EADC_2=y
>CONFIG_LCRR_CLKDIV_4=y
>+# CONFIG_SYS_MALLOC_F is not set
> CONFIG_OF_BOARD_SETUP=y
> CONFIG_OF_STDOUT_VIA_ALIAS=y
> CONFIG_MISC_INIT_R=y
>@@ -182,6 +183,7 @@ CONFIG_CMD_UBI=y
> CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
> CONFIG_ENV_ADDR=0xF00C0000
> CONFIG_ENV_ADDR_REDUND=0xF00E0000
>+CONFIG_DM=y
> CONFIG_BOOTCOUNT_LIMIT=y
> CONFIG_BOOTCOUNT_BOOTLIMIT=3
> # CONFIG_MMC is not set
>diff --git a/configs/kmeter1_defconfig b/configs/kmeter1_defconfig index
>4d9f412020..02b17ed624 100644
>--- a/configs/kmeter1_defconfig
>+++ b/configs/kmeter1_defconfig
>@@ -118,6 +118,7 @@ CONFIG_ACR_PARKM_USB_I2C1_BOOT=y
>CONFIG_LCRR_DBYP_PLL_BYPASSED=y  CONFIG_LCRR_EADC_2=y
>CONFIG_LCRR_CLKDIV_4=y
>+# CONFIG_SYS_MALLOC_F is not set
> CONFIG_OF_BOARD_SETUP=y
> CONFIG_OF_STDOUT_VIA_ALIAS=y
> CONFIG_MISC_INIT_R=y
>@@ -145,6 +146,7 @@ CONFIG_CMD_UBI=y
> CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
> CONFIG_ENV_ADDR=0xF00C0000
> CONFIG_ENV_ADDR_REDUND=0xF00E0000
>+CONFIG_DM=y
> CONFIG_BOOTCOUNT_LIMIT=y
> CONFIG_BOOTCOUNT_BOOTLIMIT=3
> # CONFIG_MMC is not set
>diff --git a/configs/kmopti2_defconfig b/configs/kmopti2_defconfig index
>80af105584..21af286a85 100644
>--- a/configs/kmopti2_defconfig
>+++ b/configs/kmopti2_defconfig
>@@ -138,6 +138,7 @@ CONFIG_ACR_APARK_MASTER=y
>CONFIG_ACR_PARKM_USB_I2C1_BOOT=y  CONFIG_LCRR_EADC_1=y
>CONFIG_LCRR_CLKDIV_2=y
>+# CONFIG_SYS_MALLOC_F is not set
> CONFIG_OF_BOARD_SETUP=y
> CONFIG_OF_STDOUT_VIA_ALIAS=y
> CONFIG_MISC_INIT_R=y
>@@ -165,6 +166,7 @@ CONFIG_CMD_UBI=y
> CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
> CONFIG_ENV_ADDR=0xF00C0000
> CONFIG_ENV_ADDR_REDUND=0xF00E0000
>+CONFIG_DM=y
> CONFIG_BOOTCOUNT_LIMIT=y
> CONFIG_BOOTCOUNT_BOOTLIMIT=3
> # CONFIG_MMC is not set
>diff --git a/configs/kmsupx5_defconfig b/configs/kmsupx5_defconfig index
>4e58aed96a..8eb6a7c38d 100644
>--- a/configs/kmsupx5_defconfig
>+++ b/configs/kmsupx5_defconfig
>@@ -118,6 +118,7 @@ CONFIG_ACR_APARK_MASTER=y
>CONFIG_ACR_PARKM_USB_I2C1_BOOT=y  CONFIG_LCRR_EADC_1=y
>CONFIG_LCRR_CLKDIV_2=y
>+# CONFIG_SYS_MALLOC_F is not set
> CONFIG_OF_BOARD_SETUP=y
> CONFIG_OF_STDOUT_VIA_ALIAS=y
> CONFIG_MISC_INIT_R=y
>@@ -145,6 +146,7 @@ CONFIG_CMD_UBI=y
> CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
> CONFIG_ENV_ADDR=0xF00C0000
> CONFIG_ENV_ADDR_REDUND=0xF00E0000
>+CONFIG_DM=y
> CONFIG_BOOTCOUNT_LIMIT=y
> CONFIG_BOOTCOUNT_BOOTLIMIT=3
> # CONFIG_MMC is not set
>diff --git a/configs/kmtegr1_defconfig b/configs/kmtegr1_defconfig index
>9cf0cde923..27a58833f8 100644
>--- a/configs/kmtegr1_defconfig
>+++ b/configs/kmtegr1_defconfig
>@@ -116,6 +116,7 @@ CONFIG_ACR_APARK_MASTER=y
>CONFIG_ACR_PARKM_USB_I2C1_BOOT=y  CONFIG_LCRR_EADC_1=y
>CONFIG_LCRR_CLKDIV_2=y
>+# CONFIG_SYS_MALLOC_F is not set
> CONFIG_OF_BOARD_SETUP=y
> CONFIG_OF_STDOUT_VIA_ALIAS=y
> CONFIG_SYS_EXTRA_OPTIONS="KMTEGR1"
>@@ -146,6 +147,7 @@ CONFIG_CMD_UBI=y
> CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
> CONFIG_ENV_ADDR=0xF0100000
> CONFIG_ENV_ADDR_REDUND=0xF0120000
>+CONFIG_DM=y
> CONFIG_BOOTCOUNT_LIMIT=y
> CONFIG_BOOTCOUNT_BOOTLIMIT=3
> # CONFIG_MMC is not set
>diff --git a/configs/kmtepr2_defconfig b/configs/kmtepr2_defconfig index
>d84da2d34b..4195576146 100644
>--- a/configs/kmtepr2_defconfig
>+++ b/configs/kmtepr2_defconfig
>@@ -138,6 +138,7 @@ CONFIG_ACR_APARK_MASTER=y
>CONFIG_ACR_PARKM_USB_I2C1_BOOT=y  CONFIG_LCRR_EADC_1=y
>CONFIG_LCRR_CLKDIV_2=y
>+# CONFIG_SYS_MALLOC_F is not set
> CONFIG_OF_BOARD_SETUP=y
> CONFIG_OF_STDOUT_VIA_ALIAS=y
> CONFIG_MISC_INIT_R=y
>@@ -165,6 +166,7 @@ CONFIG_CMD_UBI=y
> CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
> CONFIG_ENV_ADDR=0xF00C0000
> CONFIG_ENV_ADDR_REDUND=0xF00E0000
>+CONFIG_DM=y
> CONFIG_BOOTCOUNT_LIMIT=y
> CONFIG_BOOTCOUNT_BOOTLIMIT=3
> # CONFIG_MMC is not set
>diff --git a/configs/suvd3_defconfig b/configs/suvd3_defconfig index
>659baa2bef..dd57e319d0 100644
>--- a/configs/suvd3_defconfig
>+++ b/configs/suvd3_defconfig
>@@ -138,6 +138,7 @@ CONFIG_ACR_APARK_MASTER=y
>CONFIG_ACR_PARKM_USB_I2C1_BOOT=y  CONFIG_LCRR_EADC_1=y
>CONFIG_LCRR_CLKDIV_2=y
>+# CONFIG_SYS_MALLOC_F is not set
> CONFIG_OF_BOARD_SETUP=y
> CONFIG_OF_STDOUT_VIA_ALIAS=y
> CONFIG_SYS_EXTRA_OPTIONS="SUVD3"
>@@ -166,6 +167,7 @@ CONFIG_CMD_UBI=y
> CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
> CONFIG_ENV_ADDR=0xF00C0000
> CONFIG_ENV_ADDR_REDUND=0xF00E0000
>+CONFIG_DM=y
> CONFIG_BOOTCOUNT_LIMIT=y
> CONFIG_BOOTCOUNT_BOOTLIMIT=3
> # CONFIG_MMC is not set
>diff --git a/configs/tuge1_defconfig b/configs/tuge1_defconfig index
>b8df1f57f8..1ee88e256b 100644
>--- a/configs/tuge1_defconfig
>+++ b/configs/tuge1_defconfig
>@@ -118,6 +118,7 @@ CONFIG_ACR_APARK_MASTER=y
>CONFIG_ACR_PARKM_USB_I2C1_BOOT=y  CONFIG_LCRR_EADC_1=y
>CONFIG_LCRR_CLKDIV_2=y
>+# CONFIG_SYS_MALLOC_F is not set
> CONFIG_OF_BOARD_SETUP=y
> CONFIG_OF_STDOUT_VIA_ALIAS=y
> CONFIG_MISC_INIT_R=y
>@@ -145,6 +146,7 @@ CONFIG_CMD_UBI=y
> CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
> CONFIG_ENV_ADDR=0xF00C0000
> CONFIG_ENV_ADDR_REDUND=0xF00E0000
>+CONFIG_DM=y
> CONFIG_BOOTCOUNT_LIMIT=y
> CONFIG_BOOTCOUNT_BOOTLIMIT=3
> # CONFIG_MMC is not set
>diff --git a/configs/tuxx1_defconfig b/configs/tuxx1_defconfig index
>562dcbd1ed..69ceb32fa4 100644
>--- a/configs/tuxx1_defconfig
>+++ b/configs/tuxx1_defconfig
>@@ -140,6 +140,7 @@ CONFIG_ACR_APARK_MASTER=y
>CONFIG_ACR_PARKM_USB_I2C1_BOOT=y  CONFIG_LCRR_EADC_1=y
>CONFIG_LCRR_CLKDIV_2=y
>+# CONFIG_SYS_MALLOC_F is not set
> CONFIG_OF_BOARD_SETUP=y
> CONFIG_OF_STDOUT_VIA_ALIAS=y
> CONFIG_MISC_INIT_R=y
>@@ -167,6 +168,7 @@ CONFIG_CMD_UBI=y
> CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
> CONFIG_ENV_ADDR=0xF00C0000
> CONFIG_ENV_ADDR_REDUND=0xF00E0000
>+CONFIG_DM=y
> CONFIG_BOOTCOUNT_LIMIT=y
> CONFIG_BOOTCOUNT_BOOTLIMIT=3
> # CONFIG_MMC is not set
>--
>2.24.0.rc1
Patch applied on u-boot-mpc85xx. Awaiting upstream
Thanks Priyanka


More information about the U-Boot mailing list