diff options
author | Simon Glass <sjg@chromium.org> | 2019-08-14 19:56:12 -0600 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2019-08-18 21:54:10 +0800 |
commit | 02e4af63a9f5531b7975d21828edea04d6d519d2 (patch) | |
tree | 81dffa2a2f99178b1506c4f8ef750d688d3c0cb6 /cmd/tpm-v2.c | |
parent | fc7b9e16a04610b951a9d36abf41d80edb87e3e5 (diff) | |
download | u-boot-02e4af63a9f5531b7975d21828edea04d6d519d2.tar.gz |
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>
Diffstat (limited to 'cmd/tpm-v2.c')
0 files changed, 0 insertions, 0 deletions