[U-Boot] [PATCH v2] mx6: Remove lowlevel_init.S

Fabio Estevam festevam at gmail.com
Sat Sep 29 21:31:07 CEST 2012


Hi Stefano/Benoît,

On Fri, Sep 28, 2012 at 5:30 AM, Stefano Babic <sbabic at denx.de> wrote:

>
> I am testing the -next branch. MX5 does not boot anymore - I have tested
> on MX53. In fact:

Sorry for the breakage, the correct patch would be:

---
 arch/arm/cpu/armv7/mx6/Makefile        |    3 +--
 arch/arm/cpu/armv7/mx6/lowlevel_init.S |   25 -------------------------
 2 files changed, 1 insertion(+), 27 deletions(-)
 delete mode 100644 arch/arm/cpu/armv7/mx6/lowlevel_init.S

diff --git a/arch/arm/cpu/armv7/mx6/Makefile b/arch/arm/cpu/armv7/mx6/Makefile
index cbce411..deddcc3 100644
--- a/arch/arm/cpu/armv7/mx6/Makefile
+++ b/arch/arm/cpu/armv7/mx6/Makefile
@@ -28,10 +28,9 @@ include $(TOPDIR)/config.mk
 LIB	= $(obj)lib$(SOC).o

 COBJS	= soc.o clock.o
-SOBJS   = lowlevel_init.o

 SRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
-OBJS	:= $(addprefix $(obj),$(SOBJS) $(COBJS))
+OBJS	:= $(addprefix $(obj),$(COBJS))

 all:	$(obj).depend $(LIB)

diff --git a/arch/arm/cpu/armv7/mx6/lowlevel_init.S
b/arch/arm/cpu/armv7/mx6/lowlevel_init.S
deleted file mode 100644
index acadef2..0000000
--- a/arch/arm/cpu/armv7/mx6/lowlevel_init.S
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * Copyright (C) 2010-2011 Freescale Semiconductor, Inc.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
- */
-.section ".text.init", "x"
-
-#include <linux/linkage.h>
-
-ENTRY(lowlevel_init)
-	mov pc, lr
-ENDPROC(lowlevel_init)
-- 
1.7.9.5

Please drop my original patch from your next tree and then I can send
this modified version.

Thanks,

Fabio Estevam


More information about the U-Boot mailing list