switch-coreboot/payloads/libpayload/arch
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
..
arm UPSTREAM: libpayload: head.S: Avoid clearing BSS (and heap) again 2016-08-15 18:35:54 -07:00
arm64 UPSTREAM: libpayload: arm64: Fix MMU range overlap check 2016-08-12 18:28:19 -07:00
mips UPSTREAM: libpayload: head.S: Avoid clearing BSS (and heap) again 2016-08-15 18:35:54 -07:00
x86 UPSTREAM: libpayload: head.S: Avoid clearing BSS (and heap) again 2016-08-15 18:35:54 -07:00