diff options
author | Patrick Rudolph <patrick.rudolph@9elements.com> | 2023-12-27 10:59:25 +0100 |
---|---|---|
committer | Lean Sheng Tan <sheng.tan@9elements.com> | 2024-01-03 00:38:05 +0000 |
commit | b14b96d29a5ed196b2205a1bbd239c23d684fa47 (patch) | |
tree | 9d523abad4fecdd0552ff84905e183a1cda8fa63 /spd | |
parent | a611634de819bac9e0ad475d245392c8cbb1e0b3 (diff) |
northbridge/intel/sandybridge/raminit: Prepare MRC path for x86_64
- Remove pointers in argument list passed to MRC to make sure the struct
has the same size on x86_64 as on x86_32.
- Add assembly wrapper to call the MRC with argument in EAX.
- Wrap calling MRC in protected_mode_call_2arg, which is a stub on x86_32
Tested: Boots on Lenovo X220 using MRC in x86_32 and x86_64 mode.
Change-Id: Id755e7381c5a94360e3511c53432d68b7687df67
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79751
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jérémy Compostella <jeremy.compostella@intel.com>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'spd')
0 files changed, 0 insertions, 0 deletions