blob: 13b3aea3ff07e6726f9367f29a9ce5ae0be5a304 [file] [log] [blame]
Bin Menga65b25d2015-05-07 21:34:08 +08001/*
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