src/x86|cpu/intel: Hardcode FIT and ID

Revert two of the changes made in
  "arch|cpu/x86: Add Kconfig option for x86 reset vector"
  I6a814f7179ee4251aeeccb2555221616e944e03d

The Intel FIT pointer and the ID section should be offsets from the
top of flash, and aren't inherently tied to the reset vector or to
bootblock.

Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Change-Id: I2c9d5e2b2c4248c999d493a72d90cfddd92197cf
Reviewed-on: https://review.coreboot.org/c/coreboot/+/37877
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
Marshall Dawson 2019-12-20 12:26:44 -07:00 committed by Patrick Georgi
parent cca7486120
commit f9ad22d9f7
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@
*/
SECTIONS {
. = (CONFIG_X86_RESET_VECTOR - CONFIG_ID_SECTION_OFFSET) - (__id_end - __id_start) + 0x10;
. = (0xffffffff - CONFIG_ID_SECTION_OFFSET) - (__id_end - __id_start) + 1;
.id (.): {
KEEP(*(.id))
}

View File

@ -12,7 +12,7 @@
*/
SECTIONS {
. = CONFIG_X86_RESET_VECTOR - 0x30; /* 0xffffffc0 */
. = 0xffffffc0;
.fit_pointer (.): {
KEEP(*(.fit_pointer))
}