From: Simon Glass Date: Thu, 4 May 2023 22:50:54 +0000 (-0600) Subject: x86: spl: Show debugging for BSS X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=3d0f885a2adc9320a01a905a9deaa06d51614d92;p=u-boot.git x86: spl: Show debugging for BSS Show the area of memory cleared for BSS, when debugging is enabled. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- diff --git a/arch/x86/lib/spl.c b/arch/x86/lib/spl.c index bdf57ef7b5..5e47ffa7db 100644 --- a/arch/x86/lib/spl.c +++ b/arch/x86/lib/spl.c @@ -117,6 +117,8 @@ static int x86_spl_init(void) } #ifndef CONFIG_SYS_COREBOOT + debug("BSS clear from %lx to %lx len %lx\n", (ulong)&__bss_start, + (ulong)&__bss_end, (ulong)&__bss_end - (ulong)&__bss_start); memset(&__bss_start, 0, (ulong)&__bss_end - (ulong)&__bss_start); # ifndef CONFIG_TPL