Skip to contentSkip to conversation

mx25pdk: Remove lowlevel_init.S file

PATCH New Fabio Estevam 2 participants 2 messages Jan 11, 2016 – Jan 24, 2016 Arm/actions semi architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mx25pdk: Remove lowlevel_init.S file

From: Fabio Estevam <[email protected]>

As the lowlevel_init function is empty we should better remove this assembly file entirely and use a dummy C function instead.

---
 board/freescale/mx25pdk/Makefile        |  1 -
 board/freescale/mx25pdk/lowlevel_init.S | 10 ----------
 board/freescale/mx25pdk/mx25pdk.c       |  3 +++
 3 files changed, 3 insertions(+), 11 deletions(-)
 delete mode 100644 board/freescale/mx25pdk/lowlevel_init.S
board/freescale/mx25pdk/Makefile +0 -1
index 0b288f2..02085b6 100644
@@ -7,4 +7,3 @@
 #
 
 obj-y	:= mx25pdk.o
-obj-y	+= lowlevel_init.o
board/freescale/mx25pdk/lowlevel_init.S deleted +0 -10
deleted file mode 100644
index 8c581b5..0000000
@@ -1,10 +0,0 @@
-/*
- * Copyright (c) 2011  Freescale Semiconductor
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-.globl lowlevel_init
-lowlevel_init:
-
-	mov	pc, lr
board/freescale/mx25pdk/mx25pdk.c +3 -0
index 01dac72..788d3c3 100644
@@ -186,3 +186,6 @@ int checkboard(void)
 
 	return 0;
 }
+
+/* Lowlevel init isn't used on mx25pdk, so just provide a dummy one here */
+void lowlevel_init(void) {}
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 mx25pdk: Remove lowlevel_init.S file

Quoted 8 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

As the lowlevel_init function is empty we should better remove this assembly file entirely and use a dummy C function instead.

---

Applied to u-boot-imx, thanks!

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================