From: Christophe Leroy Date: Tue, 14 Mar 2023 22:24:45 +0000 (+0100) Subject: mpc83xx: Remove CONFIG_SYS_GPIO{1/2}_PRELIM and related X-Git-Tag: baikal/mips/sdk6.2~4^2~3^2~175^2~19^2~7 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=800124978cea4422da14780b1cb072439ab7e600;p=uboot.git mpc83xx: Remove CONFIG_SYS_GPIO{1/2}_PRELIM and related Last use of CONFIG_SYS_GPIO1_PRELIM was removed by commit cdea07dc24 ("ppc: Remove MPC8349EMDS board and ARCH_MPC8349 support"). Last use of CONFIG_SYS_GPIO2_PRELIM was removed even before by commit 57c75a11ce ("ppc: Remove caddy2 / vme8349 boards") Those two items were removed from whitelist by commit a7d36e38cf ("Kconfig: Remove some symbols from the whitelist") Signed-off-by: Christophe Leroy Fixes: cdea07dc24 ("ppc: Remove MPC8349EMDS board and ARCH_MPC8349 support") --- 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)