commit | 38d6b7ebdaee3e0e8426ef1b9df88bdce8ae2e75 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Tue Dec 22 19:30:21 2020 -0700 |
committer | Simon Glass <sjg@chromium.org> | Tue Jan 05 12:24:40 2021 -0700 |
tree | 8270760e4e3f1e29be75d813b921fb65422c98d8 | |
parent | acfb5308f5e51fd1f4428618d704ad0de2358871 [diff] |
spl: Drop bd_info in the data section This uses up space in the SPL binary but it always starts as zero. Also some boards cannot support data in TPL (e.g. Intel Apollo Lake). Use malloc() to allocate this structure instead, by moving the init a little later, after malloc() is inited. Make this function optional since it pulls in malloc(). This reduces the TPL binary size on coral by about 64 bytes Signed-off-by: Simon Glass <sjg@chromium.org>