em100: Make trace mode output more resilient

When redirecting em100 output to a file, say with | tee <filename>,
we won't see any output from the tool until actual SPI commands are
coming in. This is annoying, as you don't know when the download is
finished, if your workflow is for example as follows:

 1. start em100 in trace mode
 2. wait for download to em100 to finish
 3. power-cycle / turn on the machine

Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Change-Id: I36916ab71d3b929deb4d8cfed7b22a2ce90b2672
Reviewed-on: https://review.coreboot.org/c/em100/+/48866
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
1 file changed