car.S 453 B

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