From patchwork Fri Apr 10 14:34:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Delaunay X-Patchwork-Id: 237656 List-Id: U-Boot discussion From: patrick.delaunay at st.com (Patrick Delaunay) Date: Fri, 10 Apr 2020 16:34:40 +0200 Subject: [PATCH 1/3] cosmetic: README: Fix one CONFIG name Message-ID: <20200410163403.1.I3190d9b77167a808c65f44883fd1bc1c1d15218a@changeid> Only replace CONFIF_ by CONFIG_ Signed-off-by: Patrick Delaunay Reviewed-by: Simon Glass --- README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README b/README index 8cfa92fac9..6cb7656fa0 100644 --- a/README +++ b/README @@ -1640,7 +1640,7 @@ The following options need to be configured: - CONFIG_SYS_RCAR_I2C2_SPEED for for the speed channel 2 - CONFIG_SYS_RCAR_I2C3_BASE for setting the register channel 3 - CONFIG_SYS_RCAR_I2C3_SPEED for for the speed channel 3 - - CONFIF_SYS_RCAR_I2C_NUM_CONTROLLERS for number of i2c buses + - CONFIG_SYS_RCAR_I2C_NUM_CONTROLLERS for number of i2c buses - drivers/i2c/sh_i2c.c: - activate this driver with CONFIG_SYS_I2C_SH From patchwork Fri Apr 10 14:34:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Delaunay X-Patchwork-Id: 237655 List-Id: U-Boot discussion From: patrick.delaunay at st.com (Patrick Delaunay) Date: Fri, 10 Apr 2020 16:34:41 +0200 Subject: [PATCH 2/3] README: remove references on no more used config CONFIG_SYS_RCAR_I2C* In-Reply-To: <20200410163403.1.I3190d9b77167a808c65f44883fd1bc1c1d15218a@changeid> References: <20200410163403.1.I3190d9b77167a808c65f44883fd1bc1c1d15218a@changeid> Message-ID: <20200410163403.2.Ice5c9d8cd5de91bb8b2f0db60c93e5be3d921893@changeid> Remove the references in README on CONFIG_SYS_RCAR_I2C_* not use in U-Boot drivers/i2c/rcar_i2c.c, since commit a4d9aafadb31 ("i2c: rcar_i2c: Remove the driver") and commit a06a0ac36d59 ("i2c: rcar_i2c: Add DM and DT capable I2C driver") Checked by the command: grep -r SYS_RCAR_I2C * And these CONFIG are only defined in arch/arm/mach-rmobile/include/mach/rcar-base.h Signed-off-by: Patrick Delaunay Reviewed-by: Simon Glass --- README | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/README b/README index 6cb7656fa0..3cc99f0805 100644 --- a/README +++ b/README @@ -1632,16 +1632,6 @@ The following options need to be configured: - activate this driver with CONFIG_SYS_I2C_RCAR - This driver adds 4 i2c buses - - CONFIG_SYS_RCAR_I2C0_BASE for setting the register channel 0 - - CONFIG_SYS_RCAR_I2C0_SPEED for for the speed channel 0 - - CONFIG_SYS_RCAR_I2C1_BASE for setting the register channel 1 - - CONFIG_SYS_RCAR_I2C1_SPEED for for the speed channel 1 - - CONFIG_SYS_RCAR_I2C2_BASE for setting the register channel 2 - - CONFIG_SYS_RCAR_I2C2_SPEED for for the speed channel 2 - - CONFIG_SYS_RCAR_I2C3_BASE for setting the register channel 3 - - CONFIG_SYS_RCAR_I2C3_SPEED for for the speed channel 3 - - CONFIG_SYS_RCAR_I2C_NUM_CONTROLLERS for number of i2c buses - - drivers/i2c/sh_i2c.c: - activate this driver with CONFIG_SYS_I2C_SH - This driver adds from 2 to 5 i2c buses From patchwork Fri Apr 10 14:34:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Delaunay X-Patchwork-Id: 237657 List-Id: U-Boot discussion From: patrick.delaunay at st.com (Patrick Delaunay) Date: Fri, 10 Apr 2020 16:34:42 +0200 Subject: [PATCH 3/3] rmobile: rcar: removed used CONFIG_SYS_RCAR_I2C*_BASE In-Reply-To: <20200410163403.1.I3190d9b77167a808c65f44883fd1bc1c1d15218a@changeid> References: <20200410163403.1.I3190d9b77167a808c65f44883fd1bc1c1d15218a@changeid> Message-ID: <20200410163403.3.I2f2c3584fe42d6c42910d2e7e40d236910365a89@changeid> As this "CONFIG" are never used, CONFIG_SYS_RCAR_I2C*_BASE can be removed without effect and the file config_whitelist.txt is also clean-up. Signed-off-by: Patrick Delaunay --- arch/arm/mach-rmobile/include/mach/rcar-base.h | 6 ------ scripts/config_whitelist.txt | 4 ---- 2 files changed, 10 deletions(-) diff --git a/arch/arm/mach-rmobile/include/mach/rcar-base.h b/arch/arm/mach-rmobile/include/mach/rcar-base.h index a20740679f..811a1183ba 100644 --- a/arch/arm/mach-rmobile/include/mach/rcar-base.h +++ b/arch/arm/mach-rmobile/include/mach/rcar-base.h @@ -78,12 +78,6 @@ #define CONFIG_SYS_I2C_SH_BASE0 0xE6500000 #define CONFIG_SYS_I2C_SH_BASE1 0xE6510000 -/* RCAR-I2C */ -#define CONFIG_SYS_RCAR_I2C0_BASE 0xE6508000 -#define CONFIG_SYS_RCAR_I2C1_BASE 0xE6518000 -#define CONFIG_SYS_RCAR_I2C2_BASE 0xE6530000 -#define CONFIG_SYS_RCAR_I2C3_BASE 0xE6540000 - /* SDHI */ #define CONFIG_SYS_SH_SDHI0_BASE 0xEE100000 diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 0f747ac0a3..0f9d8cb0d7 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -3668,10 +3668,6 @@ CONFIG_SYS_QRIO_BR_PRELIM CONFIG_SYS_QRIO_OR_PRELIM CONFIG_SYS_R7780MP_OLD_FLASH CONFIG_SYS_RAMBOOT -CONFIG_SYS_RCAR_I2C0_BASE -CONFIG_SYS_RCAR_I2C1_BASE -CONFIG_SYS_RCAR_I2C2_BASE -CONFIG_SYS_RCAR_I2C3_BASE CONFIG_SYS_RCWH_PCIHOST CONFIG_SYS_READ_SPD CONFIG_SYS_RESET_ADDR