commit | 02e4af63a9f5531b7975d21828edea04d6d519d2 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Aug 14 19:56:12 2019 -0600 |
committer | Bin Meng <bmeng.cn@gmail.com> | Sun Aug 18 21:54:10 2019 +0800 |
tree | 81dffa2a2f99178b1506c4f8ef750d688d3c0cb6 | |
parent | fc7b9e16a04610b951a9d36abf41d80edb87e3e5 [diff] |
cbfs: Move static variables into a struct At present there are a number of static variables in BSS. This cannot work with SPL, at least until BSS is available in board_init_r(). Move the variables into a struct, so it is possible to malloc() it and use it before BSS is available. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>