commit | c82abaa5d63f5259fd64c59bd70010310b4c4e4b | [log] [tgz] |
---|---|---|
author | Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> | Mon Nov 11 22:30:46 2019 +0100 |
committer | Tom Rini <trini@konsulko.com> | Fri Jan 10 10:25:13 2020 -0500 |
tree | 7b886c981a43ab45c1481d4ef911377379102514 | |
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>