summaryrefslogtreecommitdiff
path: root/src/cpu/intel/car
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-12-16 05:46:16 +0100
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-12-17 18:13:38 +0000
commit9612a3c32a95791c1084ade5ae89e9147b2c2b7b (patch)
tree7094c29ddd82729151c048b45c8f6ca022114fe6 /src/cpu/intel/car
parent555efe47922c8b347ad7cd2c9759740e3e228164 (diff)
cpu/intel: Remove ROMCC header guards and code
Intel's platforms use a GCC compiled bootblock. Change-Id: I779d7115fee75df9356873e9cc66d43280821812 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37758 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/cpu/intel/car')
-rw-r--r--src/cpu/intel/car/non-evict/cache_as_ram.S3
-rw-r--r--src/cpu/intel/car/romstage.c13
2 files changed, 0 insertions, 16 deletions
diff --git a/src/cpu/intel/car/non-evict/cache_as_ram.S b/src/cpu/intel/car/non-evict/cache_as_ram.S
index 5a668c42df..4dee0a8002 100644
--- a/src/cpu/intel/car/non-evict/cache_as_ram.S
+++ b/src/cpu/intel/car/non-evict/cache_as_ram.S
@@ -28,11 +28,8 @@
_cache_as_ram_setup:
bootblock_pre_c_entry:
-
-#if !CONFIG(ROMCC_BOOTBLOCK)
movl $cache_as_ram, %esp /* return address */
jmp check_mtrr /* Check if CPU properly reset */
-#endif
cache_as_ram:
post_code(0x20)
diff --git a/src/cpu/intel/car/romstage.c b/src/cpu/intel/car/romstage.c
index 1f8eb9a10e..bd6a5a9b8c 100644
--- a/src/cpu/intel/car/romstage.c
+++ b/src/cpu/intel/car/romstage.c
@@ -71,19 +71,6 @@ static void romstage_main(unsigned long bist)
/* We do not return here. */
}
-#if CONFIG(ROMCC_BOOTBLOCK)
-/* This wrapper enables easy transition away from ROMCC_BOOTBLOCK
- * keeping changes in cache_as_ram.S easy to manage.
- */
-asmlinkage void bootblock_c_entry_bist(uint64_t base_timestamp, uint32_t bist)
-{
- timestamp_init(base_timestamp);
- timestamp_add_now(TS_START_ROMSTAGE);
- romstage_main(bist);
-}
-#endif
-
-
/* We don't carry BIST from bootblock in a good location to read from.
* Any error should have been reported in bootblock already.
*/