diff options
author | Simon Glass <sjg@chromium.org> | 2024-08-07 16:47:26 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-08-09 16:03:19 -0600 |
commit | 16b9c64caf900a9ce4623090e8263a7da2746998 (patch) | |
tree | fc7c1ba253f4eea0a6317ba6d8eed4a472ba060a /drivers/ddr/microchip/ddr2_regs.h | |
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 <sjg@chromium.org>
Diffstat (limited to 'drivers/ddr/microchip/ddr2_regs.h')
0 files changed, 0 insertions, 0 deletions