Replace hlt() loops with halt()
Change-Id: I8486e70615f4c404a342cb86963b5357a934c41d Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: http://review.coreboot.org/7606 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
This commit is contained in:
@ -18,8 +18,8 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include <arch/hlt.h>
|
||||
#include <arch/io.h>
|
||||
#include <halt.h>
|
||||
#include <reset.h>
|
||||
#include <broadwell/reset.h>
|
||||
|
||||
@ -45,7 +45,5 @@ void hard_reset(void)
|
||||
void reset_system(void)
|
||||
{
|
||||
hard_reset();
|
||||
while (1) {
|
||||
hlt();
|
||||
}
|
||||
halt();
|
||||
}
|
||||
|
Reference in New Issue
Block a user