gbl: remove heap allocation from Android boot

The common boot logic should be platform-agnostic, which ideally means
not requiring dynamic allocation and being able to run in pure no-std
environments.

This CL adjusts some of the boot logic to use stack memory or existing
buffers rather than heap allocating. This should also be more efficient,
since we're now loading the devicetree directly into the destination
buffer rather than keeping an additional intermediate copy on the heap.

Bug: b/363074091
Change-Id: I23a4e1a335970e03f9ad3f180ad88148c35d841a
2 files changed
tree: bf4b48d359694cf82a294db0b5177f3148697669
  1. gbl/
  2. libxbc/
  3. vts/
  4. .clang-format
  5. .gitignore
  6. BUILD
  7. LICENSE
  8. OWNERS