
This series adds TPL support to sandbox and tidies up various other things along the way:
- Fix for console being left in non-blocking mode on exit - Add debug UART (just for build coverage) - Support for serial output without DT (intended for TPL) - Enhancements to the sandbox TPM driver - Command-line flag to set the logging level
So far there is not actually a separate TPL build. I am going to leave this until I have a full Chromium OS config for U-Boot.
Simon Glass (15): log: Add helpers for common log levels sandbox: Support file truncation with os_open() sandbox: Add a way to write data to the host filesystem sandbox: spi: Drop command-line SPI option sandbox: Support booting from TPL to SPL sandbox: Add a flag to set the default log level sandbox: Remove the old memory file later sandbox: spi: Add more logging sandbox: video: Speed up video output sandbox: Add a debug UART serial: sandbox: Allow serial output without device tree sandbox: tpm: Tidy up enums and return values sandbox: tpm: Enhance to support the latest Chromium OS dm: spi: Clean up detection of sandbox SPI emulator sandbox: Restore blocking I/O on exit
arch/sandbox/cpu/os.c | 74 ++++++++++-- arch/sandbox/cpu/start.c | 19 ++- arch/sandbox/cpu/state.c | 6 +- arch/sandbox/include/asm/state.h | 2 +- common/log.c | 3 +- configs/sandbox_defconfig | 2 + drivers/mtd/spi/sandbox.c | 194 +++++++----------------------- drivers/serial/Kconfig | 11 ++ drivers/serial/sandbox.c | 24 +++- drivers/spi/sandbox_spi.c | 38 ++---- drivers/tpm/tpm_tis_sandbox.c | 115 ++++++++++++++---- drivers/video/vidconsole-uclass.c | 12 +- drivers/video/video-uclass.c | 6 +- drivers/video/video_bmp.c | 2 +- include/log.h | 15 +++ include/os.h | 24 ++-- include/tpm-v1.h | 48 ++++++++ include/tpm-v2.h | 1 + include/video.h | 4 +- test/dm/video.c | 2 +- test/log/log_test.c | 13 ++ test/py/tests/test_log.py | 6 + 22 files changed, 379 insertions(+), 242 deletions(-)