summaryrefslogtreecommitdiff
path: root/board/nxp/m5249evb/Kconfig
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2025-12-15 09:16:39 +0100
committerTom Rini <trini@konsulko.com>2026-02-03 12:51:43 -0600
commita8d982e1f1726254ef27bbdf362f98954ee3feb7 (patch)
tree8d0d090bca716429a02da4b4cb4a11f54612fc35 /board/nxp/m5249evb/Kconfig
parent0cb8a88e7ab7824b7dc857fb6572705f3e19c456 (diff)
x86: cpu: Fix crash on FTRACE enabled buildsHEADmaster
When compiled with FTRACE=1 U-boot will crash as %rdi is clobbered in board_init_f_alloc_reserve() and board_init_f_init_reserve() will memset the .text segment instead of the global_data struct. According to the System V AMD64 ABI %rdi is not preserved and the existing code only worked as board_init_f_alloc_reserve() was small enough to not use %rdi. Fix that by always passing the correct argument to board_init_f_init_reserve(). TEST=Can boot on qemu-q35 with FTRACE=1 enabled during build. Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Diffstat (limited to 'board/nxp/m5249evb/Kconfig')
0 files changed, 0 insertions, 0 deletions