Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Bin Meng | a65b25d | 2015-05-07 21:34:08 +0800 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com> |
Bin Meng | a65b25d | 2015-05-07 21:34:08 +0800 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #include <config.h> |
| 7 | #include <asm/post.h> |
| 8 | |
| 9 | .globl car_init |
| 10 | car_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 |