[U-Boot] [PATCH] ppc/km: enable DM driver support in all defconfigs

Priyanka Jain priyanka.jain at nxp.com
Mon Nov 25 06:37:35 UTC 2019



>-----Original Message-----
>From: U-Boot <u-boot-bounces at lists.denx.de> On Behalf Of Holger Brunck
>Sent: Monday, November 18, 2019 9:58 PM
>To: u-boot at lists.denx.de
>Cc: Holger Brunck <holger.brunck at ch.abb.com>; Valentin Longchamp
><valentin.longchamp at ch.abb.com>
>Subject: [U-Boot] [PATCH] 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>
>---
>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
>3b7ee334ab..595804245c 100644
>--- a/configs/kmcoge4_defconfig
>+++ b/configs/kmcoge4_defconfig
>@@ -3,6 +3,7 @@ CONFIG_SYS_TEXT_BASE=0xfff40000
> CONFIG_SYS_BOOTCOUNT_ADDR=0xFB000020
> 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
>@@ -37,6 +38,7 @@ CONFIG_CMD_UBI=y
> CONFIG_DOS_PARTITION=y
> CONFIG_ENV_IS_IN_SPI_FLASH=y
> CONFIG_SYS_REDUNDAND_ENVIRONMENT=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 edd9af9adb..971fa9b349 100644
>--- a/configs/kmcoge5ne_defconfig
>+++ b/configs/kmcoge5ne_defconfig
>@@ -152,6 +152,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
>@@ -178,6 +179,7 @@
>CONFIG_MTDPARTS_DEFAULT="mtdparts=boot:768k(u-
>boot),128k(env),128k(envred),-(ubi
> CONFIG_CMD_UBI=y
> # CONFIG_CMD_UBIFS is not set
> CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
>+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
>eb598b8ccc..21f0c4dd6e 100644
>--- a/configs/kmeter1_defconfig
>+++ b/configs/kmeter1_defconfig
>@@ -116,6 +116,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
>@@ -141,6 +142,7 @@
>CONFIG_MTDPARTS_DEFAULT="mtdparts=boot:768k(u-
>boot),128k(env),128k(envred),-(ubi
> CONFIG_CMD_UBI=y
> # CONFIG_CMD_UBIFS is not set
> CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
>+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
>c33b256608..c04f798d5b 100644
>--- a/configs/kmopti2_defconfig
>+++ b/configs/kmopti2_defconfig
>@@ -136,6 +136,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
>@@ -161,6 +162,7 @@
>CONFIG_MTDPARTS_DEFAULT="mtdparts=boot:768k(u-
>boot),128k(env),128k(envred),-(ubi
> CONFIG_CMD_UBI=y
> # CONFIG_CMD_UBIFS is not set
> CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
>+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
>2f7cca5952..3da0949963 100644
>--- a/configs/kmsupx5_defconfig
>+++ b/configs/kmsupx5_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_MISC_INIT_R=y
>@@ -141,6 +142,7 @@
>CONFIG_MTDPARTS_DEFAULT="mtdparts=boot:768k(u-
>boot),128k(env),128k(envred),-(ubi
> CONFIG_CMD_UBI=y
> # CONFIG_CMD_UBIFS is not set
> CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
>+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
>d8a84658dc..7bda28c29d 100644
>--- a/configs/kmtegr1_defconfig
>+++ b/configs/kmtegr1_defconfig
>@@ -114,6 +114,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"
>@@ -142,6 +143,7 @@ CONFIG_CMD_DIAG=y
> CONFIG_CMD_UBI=y
> # CONFIG_CMD_UBIFS is not set
> CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
>+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
>8e838eac09..97bdc19dc8 100644
>--- a/configs/kmtepr2_defconfig
>+++ b/configs/kmtepr2_defconfig
>@@ -136,6 +136,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
>@@ -161,6 +162,7 @@
>CONFIG_MTDPARTS_DEFAULT="mtdparts=boot:768k(u-
>boot),128k(env),128k(envred),-(ubi
> CONFIG_CMD_UBI=y
> # CONFIG_CMD_UBIFS is not set
> CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
>+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
>a7782d50cd..3aa52accae 100644
>--- a/configs/suvd3_defconfig
>+++ b/configs/suvd3_defconfig
>@@ -136,6 +136,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"
>@@ -162,6 +163,7 @@
>CONFIG_MTDPARTS_DEFAULT="mtdparts=boot:768k(u-
>boot),128k(env),128k(envred),-(ubi
> CONFIG_CMD_UBI=y
> # CONFIG_CMD_UBIFS is not set
> CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
>+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
>30a36ee039..9d2a071185 100644
>--- a/configs/tuge1_defconfig
>+++ b/configs/tuge1_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_MISC_INIT_R=y
>@@ -141,6 +142,7 @@
>CONFIG_MTDPARTS_DEFAULT="mtdparts=boot:768k(u-
>boot),128k(env),128k(envred),-(ubi
> CONFIG_CMD_UBI=y
> # CONFIG_CMD_UBIFS is not set
> CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
>+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
>bccc459002..01ed40261f 100644
>--- a/configs/tuxx1_defconfig
>+++ b/configs/tuxx1_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
>@@ -163,6 +164,7 @@
>CONFIG_MTDPARTS_DEFAULT="mtdparts=boot:768k(u-
>boot),128k(env),128k(envred),-(ubi
> CONFIG_CMD_UBI=y
> # CONFIG_CMD_UBIFS is not set
> CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
>+CONFIG_DM=y
> CONFIG_BOOTCOUNT_LIMIT=y
> CONFIG_BOOTCOUNT_BOOTLIMIT=3
> # CONFIG_MMC is not set
>--
Patch does not apply cleanly. Please rebase to top of tree . 
-priyankajain


More information about the U-Boot mailing list