From 4897d950b71bd19b420e082a2011e52e9d4d8a52 Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Mon, 11 Jan 2016 18:09:15 -0200 Subject: [PATCH] mx25pdk: Remove lowlevel_init.S file 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 --- 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 diff --git a/board/freescale/mx25pdk/Makefile b/board/freescale/mx25pdk/Makefile index 0b288f2588..02085b6b7e 100644 --- a/board/freescale/mx25pdk/Makefile +++ b/board/freescale/mx25pdk/Makefile @@ -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 index 8c581b50c6..0000000000 --- a/board/freescale/mx25pdk/lowlevel_init.S +++ /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 diff --git a/board/freescale/mx25pdk/mx25pdk.c b/board/freescale/mx25pdk/mx25pdk.c index 01dac72e85..788d3c3e35 100644 --- a/board/freescale/mx25pdk/mx25pdk.c +++ b/board/freescale/mx25pdk/mx25pdk.c @@ -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) {} -- 2.39.5