From patchwork Wed Apr 22 00:45:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Park, Aiden" X-Patchwork-Id: 238235 List-Id: U-Boot discussion From: aiden.park at intel.com (aiden.park at intel.com) Date: Tue, 21 Apr 2020 17:45:02 -0700 Subject: [PATCH 3/8] x86: start64: Support HOB in 64-bit U-Boot In-Reply-To: <20200422004507.2025-1-aiden.park@intel.com> References: <20200422004507.2025-1-aiden.park@intel.com> Message-ID: <20200422004507.2025-4-aiden.park@intel.com> From: Aiden Park This will allow 64-bit U-Boot to use HOB. Signed-off-by: Aiden Park --- arch/x86/cpu/start64.S | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/x86/cpu/start64.S b/arch/x86/cpu/start64.S index b8ac5aab57..7faf4f6f13 100644 --- a/arch/x86/cpu/start64.S +++ b/arch/x86/cpu/start64.S @@ -25,6 +25,11 @@ init_64bit_entry_ret: call board_init_f_init_reserve +#if defined(CONFIG_X86_RUN_64BIT_ONLY) && defined(CONFIG_USE_HOB) + mov %r10, %rdi + call set_hob_list +#endif + xor %rdi, %rdi call board_init_f call board_init_f_r