commit | bc94f0abfa0106921ba36d5801d7d2f22434a2cf | [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 | 7b5ee96d396757560f9790734e324c9793b0f6fe [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>