diff mbox series

[3/3] rmobile: rcar: removed used CONFIG_SYS_RCAR_I2C*_BASE

Message ID 20200410163403.3.I2f2c3584fe42d6c42910d2e7e40d236910365a89@changeid
State New
Headers show
Series [1/3] cosmetic: README: Fix one CONFIG name | expand

Commit Message

Patrick Delaunay April 10, 2020, 2:34 p.m. UTC
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 <patrick.delaunay at st.com>
---

 arch/arm/mach-rmobile/include/mach/rcar-base.h | 6 ------
 scripts/config_whitelist.txt                   | 4 ----
 2 files changed, 10 deletions(-)

Comments

Marek Vasut April 10, 2020, 4:43 p.m. UTC | #1
On 4/10/20 4:34 PM, Patrick Delaunay wrote:
> 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 <patrick.delaunay at st.com>
> ---
> 
>  arch/arm/mach-rmobile/include/mach/rcar-base.h | 6 ------
>  scripts/config_whitelist.txt                   | 4 ----
>  2 files changed, 10 deletions(-)

Update the README too, otherwise look good, thanks.
Patrick Delaunay April 20, 2020, 8:42 a.m. UTC | #2
Dear Marek,

> From: Marek Vasut <marex at denx.de>
> Sent: vendredi 10 avril 2020 18:44
> 
> On 4/10/20 4:34 PM, Patrick Delaunay wrote:
> > 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 <patrick.delaunay at st.com>
> > ---
> >
> >  arch/arm/mach-rmobile/include/mach/rcar-base.h | 6 ------
> >  scripts/config_whitelist.txt                   | 4 ----
> >  2 files changed, 10 deletions(-)
> 
> Update the README too, otherwise look good, thanks.

Done in a separate patch as I clean all the CONFIG no more used in this driver

[PATCH 2/3]  README: remove references on no more used config CONFIG_SYS_RCAR_I2C*

I didn't add you in CC for the serie, sorry.

http://patchwork.ozlabs.org/project/uboot/list/?series=169619

Regards

Patrick
diff mbox series

Patch

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