commit | 3528eab7182f151d288cda9643619c17dedafba7 | [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 | ed2f6601258f275b76ab893b1cfb8b7e26d98377 [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>