soc/amd/noncar/memlayout.ld: Warn about incorrect reset vector
The x86 core always starts with an IP at 0xfff0. This needs to match in the code. Change-Id: Ibced50e4348a2b46511328f9b3f3afa836feb9a5 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/64951 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
@@ -147,6 +147,7 @@ SECTIONS {
|
||||
|
||||
. = BOOTBLOCK_END - 0x10;
|
||||
_X86_RESET_VECTOR = .;
|
||||
_bogus = ASSERT((_X86_RESET_VECTOR & 0xffff) == 0xfff0, "IP needs to be 0xfff0");
|
||||
.reset . : {
|
||||
*(.reset);
|
||||
. = 15;
|
||||
|
Reference in New Issue
Block a user