[U-Boot] [PATCH 6/6] arm720: Remove CONFIG_ARM7_REVD

Marek Vasut marex at denx.de
Wed Oct 3 19:47:34 CEST 2012


This is a dead code, remove it.

Signed-off-by: Marek Vasut <marex at denx.de>
Cc: Albert Aribaud <albert.u.boot at aribaud.net>
---
 arch/arm/cpu/arm720t/start.S |   11 -----------
 1 file changed, 11 deletions(-)

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
 	/*
-- 
1.7.10.4



More information about the U-Boot mailing list