blob: 466b4876ef5218522b3b99c82f4e8c4f9e201812 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Bin Menga65b25d2015-05-07 21:34:08 +08002/*
3 * Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com>
Bin Menga65b25d2015-05-07 21:34:08 +08004 */
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