coreboot/src
Raul E Rangel 6f1d35e72d soc/amd/picasso/bootblock: Clear BSS section
We are currently relying on the assumption that the amdcompress tool
will zero out the bss section. Instead of relying on this assumption,
lets explicitly clear it.

The implementation was copied from assembly_entry.S.

BUG=b:147042464
TEST=Cold boot trembyle and also s3 resume trembyle

Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Change-Id: Ifb4f4cc6932dd4c3c92d4e7647569f9a0c69ea4c
Reviewed-on: https://review.coreboot.org/c/coreboot/+/42475
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2020-06-22 11:51:56 +00:00
..
acpi ACPI: Remove Kconfig COMMON_FADT 2020-06-10 12:53:08 +00:00
arch Kconfig: Escape variable to accommodate new Kconfig versions 2020-06-19 15:29:04 +00:00
commonlib src: Substitute __FUNCTION__ with __func__ 2020-06-21 09:24:42 +00:00
console console: Update for vboot before bootblock 2020-06-15 22:07:12 +00:00
cpu cpu/x86/smm: Add helper functions to verify SMM access 2020-06-17 09:17:56 +00:00
device Kconfig: Escape variable to accommodate new Kconfig versions 2020-06-19 15:29:04 +00:00
drivers drivers/intel/gma/intel_ddi.c: Clean up 2020-06-22 11:49:53 +00:00
ec ec/google/wilco: Suppress UCSI events in S0ix 2020-06-17 19:46:36 +00:00
include soc/amd/picasso/bootblock: Write EIP to secure S3 2020-06-22 11:51:44 +00:00
lib lib/hardwaremain: Drop HAVE_ACPI_RESUME guards 2020-06-18 13:01:08 +00:00
mainboard mb/google/dedede: Add VCM and NVM entry for OV8856 sensor 2020-06-22 11:51:24 +00:00
northbridge nb/intel/haswell: Use 16-bit ops on PCI COMMAND 2020-06-22 11:43:16 +00:00
security Kconfig: Escape variable to accommodate new Kconfig versions 2020-06-19 15:29:04 +00:00
soc soc/amd/picasso/bootblock: Clear BSS section 2020-06-22 11:51:56 +00:00
southbridge sb/intel/i82801dx: Drop APM_CNT_GNVS_UPDATE 2020-06-22 11:46:06 +00:00
superio superio/winbond/w83977tf: Add suspend related fields 2020-06-16 20:17:26 +00:00
vendorcode src: Substitute __FUNCTION__ with __func__ 2020-06-21 09:24:42 +00:00
Kconfig Kconfig: Escape variable to accommodate new Kconfig versions 2020-06-19 15:29:04 +00:00