1 comment:
File src/soc/amd/common/block/cpu/noncar/memlayout_x86.ld:
Patch Set #2, Line 86: _ = ASSERT(CONFIG_BOOTBLOCK_ADDR == ((CONFIG_BOOTBLOCK_ADDR + 0xFFFF) & 0xFFFF0000), "Bootblock must be 16 bit aligned");
Is this correct?
The architectural requirement is for X86_RESET_VECTOR to have the traditional IP 0xfff0. So it is the end of bootblock that must be at 64KiB boundary. AFAICS, C_ENV_BOOTBLOCK_SIZE has no requirements on alignment, so 16 bytes might a sufficient and convenient alignment for BOOTBLOCK_ADDR.
To view, visit change 47828. To unsubscribe, or for help writing mail filters, visit settings.