From f017cd7f71fa98be4b3222a7c314ef000296c51a Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Mon, 15 Dec 2014 23:26:13 +0900 Subject: mpc8xx: remove NETVIA board support This board is still a non-generic board. Signed-off-by: Masahiro Yamada Cc: Pantelis Antoniou --- arch/powerpc/cpu/mpc8xx/Kconfig | 4 ---- arch/powerpc/cpu/mpc8xx/scc.c | 20 -------------------- 2 files changed, 24 deletions(-) (limited to 'arch') diff --git a/arch/powerpc/cpu/mpc8xx/Kconfig b/arch/powerpc/cpu/mpc8xx/Kconfig index 4e67ff2d9d..b510e1f502 100644 --- a/arch/powerpc/cpu/mpc8xx/Kconfig +++ b/arch/powerpc/cpu/mpc8xx/Kconfig @@ -25,9 +25,6 @@ config TARGET_IVMS8 config TARGET_LWMON bool "Support lwmon" -config TARGET_NETVIA - bool "Support NETVIA" - config TARGET_TQM823L bool "Support TQM823L" @@ -71,7 +68,6 @@ source "board/esteem192e/Kconfig" source "board/ip860/Kconfig" source "board/ivm/Kconfig" source "board/lwmon/Kconfig" -source "board/netvia/Kconfig" source "board/tqc/tqm8xx/Kconfig" endmenu diff --git a/arch/powerpc/cpu/mpc8xx/scc.c b/arch/powerpc/cpu/mpc8xx/scc.c index 01029ff68a..610fd788bb 100644 --- a/arch/powerpc/cpu/mpc8xx/scc.c +++ b/arch/powerpc/cpu/mpc8xx/scc.c @@ -446,26 +446,6 @@ static int scc_init (struct eth_device *dev, bd_t * bis) immr->im_cpm.cp_pbdir |= PB_ENET_TENA; #else #error Configuration Error: exactly ONE of PB_ENET_TENA, PC_ENET_TENA must be defined -#endif - -#if defined(CONFIG_NETVIA) -#if defined(PA_ENET_PDN) - immr->im_ioport.iop_papar &= ~PA_ENET_PDN; - immr->im_ioport.iop_padir |= PA_ENET_PDN; - immr->im_ioport.iop_padat |= PA_ENET_PDN; -#elif defined(PB_ENET_PDN) - immr->im_cpm.cp_pbpar &= ~PB_ENET_PDN; - immr->im_cpm.cp_pbdir |= PB_ENET_PDN; - immr->im_cpm.cp_pbdat |= PB_ENET_PDN; -#elif defined(PC_ENET_PDN) - immr->im_ioport.iop_pcpar &= ~PC_ENET_PDN; - immr->im_ioport.iop_pcdir |= PC_ENET_PDN; - immr->im_ioport.iop_pcdat |= PC_ENET_PDN; -#elif defined(PD_ENET_PDN) - immr->im_ioport.iop_pdpar &= ~PD_ENET_PDN; - immr->im_ioport.iop_pddir |= PD_ENET_PDN; - immr->im_ioport.iop_pddat |= PD_ENET_PDN; -#endif #endif /* -- cgit