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