Patchwork [U-Boot,v3,6/6] arm720: Remove CONFIG_ARM7_REVD

login
register
mail settings
Submitter Marek Vasut
Date Oct. 3, 2012, 6:54 p.m.
Message ID <1349290453-19326-6-git-send-email-marex@denx.de>
Download mbox | patch
Permalink /patch/188901/
State Accepted
Delegated to: Albert ARIBAUD
Headers show

Comments

Marek Vasut - Oct. 3, 2012, 6:54 p.m.
This is a dead code, remove it.

Signed-off-by: Marek Vasut <marex@denx.de>
---

 arch/arm/cpu/arm720t/start.S |   11 -----------
 1 file changed, 11 deletions(-)

Patch

diff --git a/arch/arm/cpu/arm720t/start.S b/arch/arm/cpu/arm720t/start.S
index 5d5e03e..c2a7763 100644
--- a/arch/arm/cpu/arm720t/start.S
+++ b/arch/arm/cpu/arm720t/start.S
@@ -285,17 +285,6 @@  _dynsym_start_ofs:
 
 cpu_init_crit:
 
-#ifdef CONFIG_ARM7_REVD
-	/* set clock speed */
-	/* !!! we run @ 36 MHz due to a hardware flaw in Rev. D processors */
-	/* !!! not doing DRAM refresh properly! */
-	ldr	r0, SYSCON3
-	ldr	r1, [r0]
-	bic	r1, r1, #CLKCTL
-	orr	r1, r1, #CLKCTL_36
-	str	r1, [r0]
-#endif
-
 #if !defined(CONFIG_TEGRA)
 	mov	ip, lr
 	/*