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:
Arthur Heymans
2022-06-03 17:54:56 +02:00
parent 61ec6e9fa9
commit 789adfabb7

View File

@@ -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;