Skip to content

Commit

Permalink
mpc83xx: Remove CONFIG_SYS_GPIO{1/2}_PRELIM and related
Browse files Browse the repository at this point in the history
Last use of CONFIG_SYS_GPIO1_PRELIM was removed by
commit fae2ea5 ("ppc: Remove MPC8349EMDS board and ARCH_MPC8349
support").

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

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

Signed-off-by: Christophe Leroy <[email protected]>
Fixes: fae2ea5 ("ppc: Remove MPC8349EMDS board and ARCH_MPC8349 support")
  • Loading branch information
chleroy authored and trini committed Mar 29, 2023
1 parent 9695a7c commit 017375c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions arch/powerpc/cpu/mpc83xx/cpu_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 017375c

Please sign in to comment.