[PATCH 2/2] console: sandbox: remove unnecessary sandbox code

Simon Glass sjg at chromium.org
Mon Nov 30 21:12:11 CET 2020


Hi Patrick,

On Fri, 27 Nov 2020 at 03:49, Patrick Delaunay <patrick.delaunay at st.com> wrote:
>
> Remove the specific sandbox code in console.c, as the config
> CONFIG_DEBUG_UART is already supported in drivers/serial/sandbox.c
> and activated by default in all sandbox defconfig
> (CONFIG_DEBUG_UART_SANDBOX=y and CONFIG_DEBUG_UART=y).
>
> This patch allows to test the console code under DEBUG_UART in sandbox
> and avoids to include the file <os.h> in this u-boot generic code.
>
> Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>
> ---
>
>  common/console.c | 15 ---------------
>  1 file changed, 15 deletions(-)

Please see this commit as to why I put that code back, after removing it myself.

64e9b4f346f Revert "sandbox: Drop special case console code for sandbox"

Regards,
Simon


More information about the U-Boot mailing list