drop incorrectly used CONFIG_ROM_IMAGE_SIZE and unused CONFIG_ARCH

Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6496 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer 2011-04-14 20:21:49 +00:00 committed by Stefan Reinauer
parent 6108958764
commit 8902502c4a
8 changed files with 7 additions and 17 deletions

View File

@ -8,20 +8,10 @@ config AP_IN_SIPI_WAIT
default n default n
depends on ARCH_X86 depends on ARCH_X86
# This is the name of the respective architecture subdirectory in arch/.
config ARCH
string
default i386
depends on ARCH_X86
config ROMBASE config ROMBASE
hex hex
default 0xffff0000 default 0xffff0000
config ROM_IMAGE_SIZE
hex
default 0x10000
config RAMBASE config RAMBASE
hex hex
default 0x100000 default 0x100000

View File

@ -1,5 +1,5 @@
SECTIONS { SECTIONS {
. = (CONFIG_ROMBASE + CONFIG_ROM_IMAGE_SIZE - CONFIG_ID_SECTION_OFFSET) - (__id_end - __id_start); . = (0x100000000 - CONFIG_ID_SECTION_OFFSET) - (__id_end - __id_start);
.id (.): { .id (.): {
*(.id) *(.id)
} }

View File

@ -5,7 +5,7 @@
SECTIONS { SECTIONS {
/* Trigger an error if I have an unuseable start address */ /* Trigger an error if I have an unuseable start address */
_bogus = ASSERT(_start >= 0xffff0000, "_start too low. Please decrease CONFIG_ROM_IMAGE_SIZE"); _bogus = ASSERT(_start >= 0xffff0000, "_start too low. Please report.");
_ROMTOP = 0xfffffff0; _ROMTOP = 0xfffffff0;
. = _ROMTOP; . = _ROMTOP;
.reset . : { .reset . : {

View File

@ -19,7 +19,7 @@
*/ */
SECTIONS { SECTIONS {
. = (CONFIG_ROMBASE + CONFIG_ROM_IMAGE_SIZE - 0x2c) - (__romstrap_end - __romstrap_start); . = (0x100000000 - 0x2c) - (__romstrap_end - __romstrap_start);
.romstrap (.): { .romstrap (.): {
*(.romstrap) *(.romstrap)
} }

View File

@ -19,7 +19,7 @@
*/ */
SECTIONS { SECTIONS {
. = (CONFIG_ROMBASE + CONFIG_ROM_IMAGE_SIZE - 0x10) - (__romstrap_end - __romstrap_start); . = (0x100000000 - 0x10) - (__romstrap_end - __romstrap_start);
.romstrap (.): { .romstrap (.): {
*(.romstrap) *(.romstrap)
} }

View File

@ -20,7 +20,7 @@
*/ */
SECTIONS { SECTIONS {
. = (CONFIG_ROMBASE + CONFIG_ROM_IMAGE_SIZE - 0x10) - (__romstrap_end - __romstrap_start); . = (0x100000000 - 0x10) - (__romstrap_end - __romstrap_start);
.romstrap (.): { .romstrap (.): {
*(.romstrap) *(.romstrap)
} }

View File

@ -20,7 +20,7 @@
*/ */
SECTIONS { SECTIONS {
. = (CONFIG_ROMBASE + CONFIG_ROM_IMAGE_SIZE - 0x10) - (__romstrap_end - __romstrap_start); . = (0x100000000 - 0x10) - (__romstrap_end - __romstrap_start);
.romstrap (.): { .romstrap (.): {
*(.romstrap) *(.romstrap)
} }

View File

@ -22,7 +22,7 @@
/* Modified for K8T890 ROM strap by Rudolf Marek <r.marek@assembler.cz>. */ /* Modified for K8T890 ROM strap by Rudolf Marek <r.marek@assembler.cz>. */
SECTIONS { SECTIONS {
. = (CONFIG_ROMBASE + CONFIG_ROM_IMAGE_SIZE - 0x2c) - (__romstrap_end - __romstrap_start); . = (0x100000000 - 0x2c) - (__romstrap_end - __romstrap_start);
.romstrap (.): { .romstrap (.): {
*(.romstrap) *(.romstrap)
} }