summaryrefslogtreecommitdiff
path: root/src/arch/armv7/include
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/include
parent9efc42e85b4db0735145ddb561d62627f2c11003 (diff)
downloadcoreboot-da147d7ae30b64c94cde5648cccbb3ace3077060.tar.xz
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/include')
-rw-r--r--src/arch/armv7/include/common.h2
-rw-r--r--src/arch/armv7/include/hang.h20
2 files changed, 0 insertions, 22 deletions
diff --git a/src/arch/armv7/include/common.h b/src/arch/armv7/include/common.h
index 1b69e848f1..d95a74d3a8 100644
--- a/src/arch/armv7/include/common.h
+++ b/src/arch/armv7/include/common.h
@@ -129,8 +129,6 @@ ulong timer_get_us(void);
* Function Prototypes
*/
-void hang (void) __attribute__ ((noreturn));
-
int init_timer(void); /* FIXME(dhendrix): used to be timer_init() */
int cpu_init(void);
diff --git a/src/arch/armv7/include/hang.h b/src/arch/armv7/include/hang.h
deleted file mode 100644
index f57fc28f56..0000000000
--- a/src/arch/armv7/include/hang.h
+++ /dev/null
@@ -1,20 +0,0 @@
- /*
- * This file is part of the coreboot project.
- *
- * Copyright (C) 2012 The ChromiumOS Authors. All rights reserved.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-void hang(void);