diff mbox series

[2/2] mpc83xx: Remove CONFIG_SYS_GPIO{1/2}_PRELIM and related

Message ID 4ce17572797cedef2485e4c33885bbb8fa651814.1678832669.git.christophe.leroy@csgroup.eu
State Accepted
Commit 017375cb9443ba933373484908858f857a22334f
Delegated to: Tom Rini
Headers show
Series [1/2] mpc83xx: Remove stale CONFIG_SYS_LBLAWBAR{4/5/6/7}_PRELIM | expand

Commit Message

Christophe Leroy March 14, 2023, 10:24 p.m. UTC
Last use of CONFIG_SYS_GPIO1_PRELIM was removed by
commit fae2ea5951 ("ppc: Remove MPC8349EMDS board and ARCH_MPC8349
support").

Last use of CONFIG_SYS_GPIO2_PRELIM was removed even before by
commit 6843862342 ("ppc: Remove caddy2 / vme8349 boards")

Those two items were removed from whitelist by
commit 8cca60a2cb ("Kconfig: Remove some symbols from the whitelist")

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Fixes: fae2ea5951 ("ppc: Remove MPC8349EMDS board and ARCH_MPC8349 support")
---
 arch/powerpc/cpu/mpc83xx/cpu_init.c | 8 --------
 1 file changed, 8 deletions(-)

Comments

Tom Rini March 30, 2023, 1:54 a.m. UTC | #1
On Tue, Mar 14, 2023 at 11:24:45PM +0100, Christophe Leroy wrote:

> Last use of CONFIG_SYS_GPIO1_PRELIM was removed by
> commit fae2ea5951 ("ppc: Remove MPC8349EMDS board and ARCH_MPC8349
> support").
> 
> Last use of CONFIG_SYS_GPIO2_PRELIM was removed even before by
> commit 6843862342 ("ppc: Remove caddy2 / vme8349 boards")
> 
> Those two items were removed from whitelist by
> commit 8cca60a2cb ("Kconfig: Remove some symbols from the whitelist")
> 
> Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
> Fixes: fae2ea5951 ("ppc: Remove MPC8349EMDS board and ARCH_MPC8349 support")

Applied to u-boot/next, thanks!
diff mbox series

Patch

diff --git a/arch/powerpc/cpu/mpc83xx/cpu_init.c b/arch/powerpc/cpu/mpc83xx/cpu_init.c
index 14df59bb8e..f5cb000de6 100644
--- a/arch/powerpc/cpu/mpc83xx/cpu_init.c
+++ b/arch/powerpc/cpu/mpc83xx/cpu_init.c
@@ -227,14 +227,6 @@  void cpu_init_f (volatile immap_t * im)
 	im->sysconf.lblaw[3].bar = CFG_SYS_LBLAWBAR3_PRELIM;
 	im->sysconf.lblaw[3].ar = CFG_SYS_LBLAWAR3_PRELIM;
 #endif
-#ifdef CONFIG_SYS_GPIO1_PRELIM
-	im->gpio[0].dat = CONFIG_SYS_GPIO1_DAT;
-	im->gpio[0].dir = CONFIG_SYS_GPIO1_DIR;
-#endif
-#ifdef CONFIG_SYS_GPIO2_PRELIM
-	im->gpio[1].dat = CONFIG_SYS_GPIO2_DAT;
-	im->gpio[1].dir = CONFIG_SYS_GPIO2_DIR;
-#endif
 }
 
 int cpu_init_r (void)