xref: /openbmc/u-boot/arch/x86/cpu/qemu/car.S (revision 699c4e59)
1/*
2 * Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com>
3 *
4 * SPDX-License-Identifier:	GPL-2.0+
5 */
6
7#include <config.h>
8#include <asm/post.h>
9
10.globl car_init
11car_init:
12	/* Save the BIST result */
13	movl	%eax, %ebp
14
15	post_code(POST_CAR_START)
16
17	/*
18	 * Since we know we are running inside emulator,
19	 * we can do nothing here for CAR initialization.
20	 */
21
22	/* Restore the BIST result */
23	movl	%ebp, %eax
24
25	post_code(POST_CAR_CPU_CACHE)
26	jmp	car_init_ret
27