Skip to content
Commit c82abaa5 authored by Simon Goldschmidt's avatar Simon Goldschmidt Committed by Tom Rini
Browse files

spl: fix stack usage check if gd is not initialized



Most platforms do not set up gd->start_addr_sp in SPL. Since this is
required for CONFIG_SPL_SYS_REPORT_SACK_F_USAGE to work correctly, set
up gd->start_addr_sp in SPL to the value passed to
board_init_f_init_reserve if it is not set yet.

Fixes: d8c03320 ("spl: implement stack usage check")
Signed-off-by: default avatarSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
parent 8947145c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment