summaryrefslogtreecommitdiff
path: root/src/arch/armv7/lib
diff options
context:
space:
mode:
authorHung-Te Lin <hungte@chromium.org>2013-02-06 18:03:40 +0800
committerDavid Hendricks <dhendrix@chromium.org>2013-02-06 19:52:47 +0100
commitda147d7ae30b64c94cde5648cccbb3ace3077060 (patch)
tree7b4f043d750462d0f0c3c0350e25cf9479d6d9d5 /src/arch/armv7/lib
parent9efc42e85b4db0735145ddb561d62627f2c11003 (diff)
armv7: Clean up: replace hang() by hlt().
hang() is the legacy function from U-boot and should be replaced by hlt() in coreboot. Change-Id: I0f390b1b6f9ff71487ea36cf16c462724b66d8ca Signed-off-by: Hung-Te Lin <hungte@chromium.org> Reviewed-on: http://review.coreboot.org/2298 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-by: David Hendricks <dhendrix@chromium.org>
Diffstat (limited to 'src/arch/armv7/lib')
-rw-r--r--src/arch/armv7/lib/Makefile.inc2
-rw-r--r--src/arch/armv7/lib/hang_spl.c16
2 files changed, 0 insertions, 18 deletions
diff --git a/src/arch/armv7/lib/Makefile.inc b/src/arch/armv7/lib/Makefile.inc
index e0445ceea2..e33618bfc3 100644
--- a/src/arch/armv7/lib/Makefile.inc
+++ b/src/arch/armv7/lib/Makefile.inc
@@ -4,7 +4,6 @@ romstage-y += cache_v7.c
romstage-y += cache-cp15.c
romstage-y += div0.c
romstage-y += div64.S
-romstage-y += hang_spl.c
romstage-y += romstage_console.c
romstage-y += syslib.c
@@ -13,7 +12,6 @@ romstage-y += syslib.c
ramstage-y += div0.c
ramstage-y += div64.S
-ramstage-y += hang_spl.c
#ramstage-y += interrupts.c
#ramstage-y += memcpy.S
#ramstage-y += memset.S
diff --git a/src/arch/armv7/lib/hang_spl.c b/src/arch/armv7/lib/hang_spl.c
deleted file mode 100644
index 630a57af47..0000000000
--- a/src/arch/armv7/lib/hang_spl.c
+++ /dev/null
@@ -1,16 +0,0 @@
-/*
- * Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- *
- * Alternatively, this software may be distributed under the terms of the
- * GNU General Public License ("GPL") version 2 as published by the Free
- * Software Foundation.
- */
-
-#include <hang.h>
-
-void hang(void)
-{
- for (;;);
-}