depthcharge: remove unused sections from linker script
Sections cparams, shared_data, and gbb_copy are no longer used.
Remove them from the linker script, and also remove any relevant
references.
* shared_data used to store vboot1-style VbSharedDataHeader
struct. This struct is now stored as a global in
commonparams.c within vboot_handoff, and passed to
VbSelectAndLoadKernel and VbVerifyMemoryBootImage.
* gbb_copy used to be used to store a copy of GBB data which was
read on depthcharge initialization. Now, vboot uses its
existing copy from firmware verification stage. It exposes GBB
data via vboot API functions.
* cparams used to be the vehicle by which shared_data and
gbb_copy were sent into VbSelectAndLoadKernel and
VbVerifyMemoryBootImage.
BUG=b:124141368, chromium:954774
TEST=Build locally
BRANCH=none
Change-Id: I5a6089d5e66d812c144efbde7e2de1bc6226f573
Signed-off-by: Joel Kitching <kitching@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/depthcharge/+/1663750
Tested-by: Joel Kitching <kitching@chromium.org>
Auto-Submit: Joel Kitching <kitching@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Commit-Queue: Joel Kitching <kitching@chromium.org>
3 files changed