summaryrefslogtreecommitdiff
path: root/src/cpu/via/car
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/via/car')
-rw-r--r--src/cpu/via/car/cache_as_ram.S13
-rw-r--r--src/cpu/via/car/exit_car.S8
2 files changed, 21 insertions, 0 deletions
diff --git a/src/cpu/via/car/cache_as_ram.S b/src/cpu/via/car/cache_as_ram.S
new file mode 100644
index 0000000000..5c5066d7ea
--- /dev/null
+++ b/src/cpu/via/car/cache_as_ram.S
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+.section .init, "ax", @progbits
+
+.global bootblock_pre_c_entry
+
+.code32
+bootblock_pre_c_entry:
+ call bootblock_c_entry_bist
+
+.Lhlt:
+ hlt
+ jmp .Lhlt
diff --git a/src/cpu/via/car/exit_car.S b/src/cpu/via/car/exit_car.S
new file mode 100644
index 0000000000..0f1b227c2d
--- /dev/null
+++ b/src/cpu/via/car/exit_car.S
@@ -0,0 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+.global chipset_teardown_car
+
+.code32
+chipset_teardown_car:
+ /* Return to caller. */
+ jmp *%esp