commit | 59d07ee08e858bf2c121d0cdc6c8ddd3b26ee5b1 | [log] [tgz] |
---|---|---|
author | Andre Przywara <andre.przywara@arm.com> | Fri Jul 08 15:18:35 2016 +0100 |
committer | Tom Rini <trini@konsulko.com> | Fri Jul 08 12:50:34 2016 -0400 |
tree | 3c98c2eea6dd4085c4db2989f371e92a8f7aaad0 | |
parent | a82642f39856c0b9edb2545570b599a157b73f63 [diff] |
SPL: tiny-printf: avoid any BSS usage As printf calls may be executed quite early, we should avoid using any BSS stored variables, since some boards put BSS in DRAM, which may not have been initialised yet. Explicitly mark those "static global" variables as belonging to the .data section, to keep tiny-printf clear of any BSS usage. Signed-off-by: Andre Przywara <andre.przywara@arm.com>