From be4992b1932b098271ff7bd1141b5265f450f8b1 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 2 Sep 2014 18:00:44 -0500 Subject: raspberrypi: Use shared bspreset.c --- c/src/lib/libbsp/arm/raspberrypi/Makefile.am | 2 +- .../lib/libbsp/arm/raspberrypi/startup/bspreset.c | 35 ---------------------- 2 files changed, 1 insertion(+), 36 deletions(-) delete mode 100644 c/src/lib/libbsp/arm/raspberrypi/startup/bspreset.c (limited to 'c/src/lib/libbsp/arm/raspberrypi') diff --git a/c/src/lib/libbsp/arm/raspberrypi/Makefile.am b/c/src/lib/libbsp/arm/raspberrypi/Makefile.am index a8d98b4dcf..cda85107f4 100644 --- a/c/src/lib/libbsp/arm/raspberrypi/Makefile.am +++ b/c/src/lib/libbsp/arm/raspberrypi/Makefile.am @@ -92,7 +92,7 @@ libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S libbsp_a_SOURCES += ../shared/arm-cp15-set-ttb-entries.c # Startup -libbsp_a_SOURCES += startup/bspreset.c +libbsp_a_SOURCES += ../../shared/bspreset_loop.c libbsp_a_SOURCES += startup/bspstart.c # IRQ diff --git a/c/src/lib/libbsp/arm/raspberrypi/startup/bspreset.c b/c/src/lib/libbsp/arm/raspberrypi/startup/bspreset.c deleted file mode 100644 index 4b3c732c45..0000000000 --- a/c/src/lib/libbsp/arm/raspberrypi/startup/bspreset.c +++ /dev/null @@ -1,35 +0,0 @@ -/** - * @file - * - * @ingroup arm_start - * - * @brief Raspberry Pi reset code. - */ - -/* - * Copyright (c) 2013 by Alan Cudmore - * Based on work by: - * Copyright (c) 2009 - * embedded brains GmbH - * Obere Lagerstr. 30 - * D-82178 Puchheim - * Germany - * - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * - * http://www.rtems.org/license/LICENSE - * - */ - -#include - -#include - -void bsp_reset( void) -{ - while (true) { - /* Do nothing */ - } -} -- cgit v1.2.3