]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/x86/cpu/qemu/car.S
x86: Support QEMU x86 targets
[karo-tx-uboot.git] / arch / x86 / cpu / qemu / car.S
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
11 car_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