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>
This commit is contained in:
parent
9efc42e85b
commit
da147d7ae3
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
|
@ -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
|
||||
|
|
|
@ -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 (;;);
|
||||
}
|
Loading…
Reference in New Issue