diff options
| author | Simon Glass <[email protected]> | 2024-08-07 16:47:26 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-08-09 16:03:19 -0600 |
| commit | 16b9c64caf900a9ce4623090e8263a7da2746998 (patch) | |
| tree | fc7c1ba253f4eea0a6317ba6d8eed4a472ba060a /scripts/const_structs.checkpatch | |
| parent | 5b33660c54e56aaee4485a9d283d4d33fb77001c (diff) | |
sandbox: Set up global_data earlier
It is possible for U-Boot functions such as printf() to be called
within state_init(). This can end up checking gd->flags (e.g. in putc())
before global_data is set up.
Move the setup earlier to avoid this. This fixes the suppression of some
debug output in memory allocation (when enabled).
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
