switch-coreboot/payloads/libpayload/arch/mips
Julius Werner 6ae28b205b UPSTREAM: libpayload: head.S: Avoid clearing BSS (and heap) again
3 out of 4 architectures currently zero out the payload BSS in early
assembly code, which is pointless since the code loading the payload has
already done that (with a more efficient memset). ARM64 has never had
any code like this and can run just fine without it. This also defeats
the new optimization of moving the heap out of the BSS, since all three
implementations assume that everything between _edata and _end is BSS.
We should just take this out.

BUG=None
BRANCH=None
TEST=None

Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/16091
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>

Change-Id: I45cd2dabd94da43ff0f77e990f11c877cee6cda1
Reviewed-on: https://chromium-review.googlesource.com/370697
Commit-Ready: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2016-08-15 18:35:54 -07:00
..
cache.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
coreboot.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
dummy_media.c cbfs: define libpayload_init_default_cbfs_media weakly 2015-07-06 09:42:12 +02:00
exception.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
exception_asm.S tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
gdb.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
head.S UPSTREAM: libpayload: head.S: Avoid clearing BSS (and heap) again 2016-08-15 18:35:54 -07:00
Kconfig tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
libpayload.ldscript libpayload: Move base address, stack and heap size to Kconfig 2016-03-15 20:53:38 +01:00
main.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
Makefile.inc tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
selfboot.c libpayload: arch/mips: Add basic MIPS architecture support 2015-03-21 11:07:50 +01:00
string.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
sysinfo.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
timer.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
util.S tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00