Patchwork [U-Boot,v4,2/2] arm: remove useless code in start.S files

login
register
mail settings
Submitter Albert ARIBAUD
Date Nov. 27, 2012, 12:43 p.m.
Message ID <1354020206-24762-3-git-send-email-albert.u.boot@aribaud.net>
Download mbox | patch
Permalink /patch/202204/
State Superseded
Delegated to: Albert ARIBAUD
Headers show

Comments

Albert ARIBAUD - Nov. 27, 2012, 12:43 p.m.
Remove code such as unneeded includes or labels.
These removals have no functional effect.

Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
---
Changes in v2:
- removed useless includes in arm926ejs and arm925t

 arch/arm/cpu/arm925t/start.S   |    4 ----
 arch/arm/cpu/arm926ejs/start.S |    6 ------
 2 files changed, 10 deletions(-)
Tom Rini - Jan. 7, 2013, 2:41 p.m.
On Tue, Nov 27, 2012 at 01:43:26PM +0100, Albert ARIBAUD wrote:

> Remove code such as unneeded includes or labels.
> These removals have no functional effect.
> 
> Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
> ---
> Changes in v2:
> - removed useless includes in arm926ejs and arm925t

On beaglebone Rev A5
Tested-by: Tom Rini <trini@ti.com>
Acked-by: Tom Rini <trini@ti.com>

Patch

diff --git a/arch/arm/cpu/arm925t/start.S b/arch/arm/cpu/arm925t/start.S
index 82f5b8b..e8d6d71 100644
--- a/arch/arm/cpu/arm925t/start.S
+++ b/arch/arm/cpu/arm925t/start.S
@@ -34,10 +34,6 @@ 
 #include <config.h>
 #include <version.h>
 
-#if defined(CONFIG_OMAP1510)
-#include <./configs/omap1510.h>
-#endif
-
 /*
  *************************************************************************
  *
diff --git a/arch/arm/cpu/arm926ejs/start.S b/arch/arm/cpu/arm926ejs/start.S
index 3cdecd9..66a8b65 100644
--- a/arch/arm/cpu/arm926ejs/start.S
+++ b/arch/arm/cpu/arm926ejs/start.S
@@ -36,12 +36,6 @@ 
 #include <common.h>
 #include <version.h>
 
-#if defined(CONFIG_OMAP1610)
-#include <./configs/omap1510.h>
-#elif defined(CONFIG_OMAP730)
-#include <./configs/omap730.h>
-#endif
-
 /*
  *************************************************************************
  *