summaryrefslogtreecommitdiff
path: root/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-03-27 14:26:14 -0600
committerTom Rini <trini@konsulko.com>2022-04-18 17:53:56 -0400
commit830d73b4de41a3bfd20bf0bfdfe0189214340ed4 (patch)
tree67bcaf8000fa76315fc8402ddad734916da910ca /arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.h
parent9859465bfe838bc8264d45e1a1bed847bba74bad (diff)
sandbox: Correct loss of early output in SPL
At present fputc() is used before the console is available, then write() is used. These are not compatible. Since fputc() buffers internally it is better to use the write(), so that a partial line is immediately displayed. This has a slight effect on performance, but we are already using write() for the vast majority of the output with no obvious impacts. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.h')
0 files changed, 0 insertions, 0 deletions