]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mx25pdk: Remove lowlevel_init.S file
authorFabio Estevam <fabio.estevam@nxp.com>
Mon, 11 Jan 2016 20:09:15 +0000 (18:09 -0200)
committerStefano Babic <sbabic@denx.de>
Sun, 24 Jan 2016 10:52:45 +0000 (11:52 +0100)
As the lowlevel_init function is empty we should better
remove this assembly file entirely and use a dummy C
function instead.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
board/freescale/mx25pdk/Makefile
board/freescale/mx25pdk/lowlevel_init.S [deleted file]
board/freescale/mx25pdk/mx25pdk.c

index 0b288f2588fa2b86444dcbcd535ae3659f6b5b24..02085b6b7e4c3edc5e064da1460bfc48f447e2f0 100644 (file)
@@ -7,4 +7,3 @@
 #
 
 obj-y  := mx25pdk.o
-obj-y  += lowlevel_init.o
diff --git a/board/freescale/mx25pdk/lowlevel_init.S b/board/freescale/mx25pdk/lowlevel_init.S
deleted file mode 100644 (file)
index 8c581b5..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-/*
- * Copyright (c) 2011  Freescale Semiconductor
- *
- * SPDX-License-Identifier:    GPL-2.0+
- */
-
-.globl lowlevel_init
-lowlevel_init:
-
-       mov     pc, lr
index 01dac72e85effc385364fa3173e133b3aff5ea32..788d3c3e35972b83260daa11498f057214826eae 100644 (file)
@@ -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) {}