diff options
author | Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> | 2019-11-11 22:30:46 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-01-10 10:25:13 -0500 |
commit | c82abaa5d63f5259fd64c59bd70010310b4c4e4b (patch) | |
tree | 7b886c981a43ab45c1481d4ef911377379102514 /include | |
parent | 8947145cd0ae8adf1c5dc0ae6756d49bf5330b48 (diff) |
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: d8c0332031 ("spl: implement stack usage check")
Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions