
18 Aug
2019
18 Aug
'19
3:59 p.m.
On Fri, Aug 16, 2019 at 10:43 PM Bin Meng bmeng.cn@gmail.com wrote:
On Thu, Aug 15, 2019 at 3:18 PM Bin Meng bmeng.cn@gmail.com wrote:
On Thu, Aug 15, 2019 at 9:56 AM Simon Glass sjg@chromium.org wrote:
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
Changes in v2:
- Make cbfs_init() static
- Move whitespace changes to next patch
Reviewed-by: Bin Meng bmeng.cn@gmail.com
Tested-by: Bin Meng bmeng.cn@gmail.com
applied to u-boot-x86, thanks!