diff mbox

[U-Boot] ppc4xx: Remove remnants from ocotea, taishan, ebony and taihu

Message ID 1445946495-28172-1-git-send-email-sr@denx.de
State Awaiting Upstream
Delegated to: Stefan Roese
Headers show

Commit Message

Stefan Roese Oct. 27, 2015, 11:48 a.m. UTC
The removal of some PPC4xx boards did not catch all references to
these boards. This patch now removes all remnants still left.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Stefan Roese <sr@denx.de>
---
 arch/powerpc/cpu/ppc4xx/Kconfig | 16 ----------------
 arch/powerpc/cpu/ppc4xx/start.S | 23 -----------------------
 2 files changed, 39 deletions(-)

Comments

Stefan Roese Nov. 30, 2015, 11:48 a.m. UTC | #1
On 27.10.2015 12:48, Stefan Roese wrote:
> The removal of some PPC4xx boards did not catch all references to
> these boards. This patch now removes all remnants still left.
>
> Signed-off-by: Stefan Roese <sr@denx.de>
> Cc: Stefan Roese <sr@denx.de>

Applied to u-boot-ppc4xx/master.

Thanks,
Stefan
diff mbox

Patch

diff --git a/arch/powerpc/cpu/ppc4xx/Kconfig b/arch/powerpc/cpu/ppc4xx/Kconfig
index ce58d86..945e771 100644
--- a/arch/powerpc/cpu/ppc4xx/Kconfig
+++ b/arch/powerpc/cpu/ppc4xx/Kconfig
@@ -28,9 +28,6 @@  config TARGET_CANYONLANDS
 	select DM
 	select DM_SERIAL
 
-config TARGET_EBONY
-	bool "Support ebony"
-
 config TARGET_KATMAI
 	bool "Support katmai"
 
@@ -43,21 +40,12 @@  config TARGET_LUAN
 config TARGET_MAKALU
 	bool "Support makalu"
 
-config TARGET_OCOTEA
-	bool "Support ocotea"
-
 config TARGET_REDWOOD
 	bool "Support redwood"
 
 config TARGET_SEQUOIA
 	bool "Support sequoia"
 
-config TARGET_TAIHU
-	bool "Support taihu"
-
-config TARGET_TAISHAN
-	bool "Support taishan"
-
 config TARGET_WALNUT
 	bool "Support walnut"
 
@@ -142,16 +130,12 @@  source "board/amcc/acadia/Kconfig"
 source "board/amcc/bamboo/Kconfig"
 source "board/amcc/bubinga/Kconfig"
 source "board/amcc/canyonlands/Kconfig"
-source "board/amcc/ebony/Kconfig"
 source "board/amcc/katmai/Kconfig"
 source "board/amcc/kilauea/Kconfig"
 source "board/amcc/luan/Kconfig"
 source "board/amcc/makalu/Kconfig"
-source "board/amcc/ocotea/Kconfig"
 source "board/amcc/redwood/Kconfig"
 source "board/amcc/sequoia/Kconfig"
-source "board/amcc/taihu/Kconfig"
-source "board/amcc/taishan/Kconfig"
 source "board/amcc/walnut/Kconfig"
 source "board/amcc/yosemite/Kconfig"
 source "board/amcc/yucca/Kconfig"
diff --git a/arch/powerpc/cpu/ppc4xx/start.S b/arch/powerpc/cpu/ppc4xx/start.S
index 77d4040..3dd0557 100644
--- a/arch/powerpc/cpu/ppc4xx/start.S
+++ b/arch/powerpc/cpu/ppc4xx/start.S
@@ -1795,34 +1795,11 @@  ppc405ep_init:
 ..no_pllset:
 #endif /* CONFIG_BUBINGA */
 
-#ifdef CONFIG_TAIHU
-	mfdcr	r4, CPC0_BOOT
-	andi.	r5, r4, CPC0_BOOT_SEP@l
-	bne	strap_1			/* serial eeprom present */
-	addis	r5,0,CPLD_REG0_ADDR@h
-	ori	r5,r5,CPLD_REG0_ADDR@l
-	andi.	r5, r5, 0x10
-	bne	_pci_66mhz
-#endif /* CONFIG_TAIHU */
-
 	addis	r3,0,PLLMR0_DEFAULT@h	/* PLLMR0 default value */
 	ori	r3,r3,PLLMR0_DEFAULT@l	/* */
 	addis	r4,0,PLLMR1_DEFAULT@h	/* PLLMR1 default value */
 	ori	r4,r4,PLLMR1_DEFAULT@l	/* */
 
-#ifdef CONFIG_TAIHU
-	b	1f
-_pci_66mhz:
-	addis	r3,0,PLLMR0_DEFAULT_PCI66@h
-	ori	r3,r3,PLLMR0_DEFAULT_PCI66@l
-	addis	r4,0,PLLMR1_DEFAULT_PCI66@h
-	ori	r4,r4,PLLMR1_DEFAULT_PCI66@l
-	b	1f
-strap_1:
-	mfdcr	r3, CPC0_PLLMR0
-	mfdcr	r4, CPC0_PLLMR1
-#endif /* CONFIG_TAIHU */
-
 1:
 	b	pll_write		/* Write the CPC0_PLLMR with new value */