arch/x86: Remove more romcc leftovers

The sections .rom.* were for romcc and no longer used.
Some romcc comments were left behind when guards were removed.

Change-Id: I060ad7af2f03c67946f9796e625c072b887280c1
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/37955
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
This commit is contained in:
Kyösti Mälkki 2019-12-21 10:17:56 +02:00 committed by Patrick Georgi
parent 69589294c2
commit df771c1ee4
5 changed files with 4 additions and 14 deletions

View File

@ -10,11 +10,12 @@
#include <cpu/x86/cr.h> #include <cpu/x86/cr.h>
.section .text
/* /*
* Include the old code for reset vector and protected mode entry. That code has * Include the old code for reset vector and protected mode entry. That code has
* withstood the test of time. * withstood the test of time.
*/ */
#include <arch/x86/prologue.inc>
#include <cpu/x86/16bit/entry16.inc> #include <cpu/x86/16bit/entry16.inc>
#include <cpu/x86/16bit/reset16.inc> #include <cpu/x86/16bit/reset16.inc>
#include <cpu/x86/32bit/entry32.inc> #include <cpu/x86/32bit/entry32.inc>

View File

@ -1,6 +0,0 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <cpu/x86/post_code.h>
.section ".rom.data", "a", @progbits
.section ".rom.text", "ax", @progbits

View File

@ -8,7 +8,7 @@ fit_pointer:
.long 0 .long 0
.previous .previous
.section ".rom.data", "a", @progbits .section .text
.align 16 .align 16
.global fit_table .global fit_table
.global fit_table_end .global fit_table_end

View File

@ -26,6 +26,7 @@
*/ */
#include <arch/rom_segs.h> #include <arch/rom_segs.h>
#include <cpu/x86/post_code.h>
/* Symbol _start16bit must be aligned to 4kB to start AP CPUs with /* Symbol _start16bit must be aligned to 4kB to start AP CPUs with
* Startup IPI message without RAM. * Startup IPI message without RAM.

View File

@ -13,12 +13,6 @@
.text . : { .text . : {
_program = .; _program = .;
_text = .; _text = .;
/*
* The .rom.* sections are to acommodate x86 romstage. romcc as well
* as the assembly files put their text and data in these sections.
*/
*(.rom.text);
*(.rom.data);
*(.text._start); *(.text._start);
*(.text.stage_entry); *(.text.stage_entry);
#if (ENV_DECOMPRESSOR || ENV_BOOTBLOCK && \ #if (ENV_DECOMPRESSOR || ENV_BOOTBLOCK && \