summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorCasey Connolly <[email protected]>2025-08-11 12:45:13 +0200
committerCasey Connolly <[email protected]>2025-08-13 15:14:04 +0200
commit23e1a11f4e8e3333ddcbff3bf88763c711340fe2 (patch)
treef42cab02de7915eb11ea96c8309cdb8381a7818e /scripts/basic
parentfda7bee6468ee5a701e268162aaa7645d98b85f0 (diff)
mach-snapdragon: fix erroneous lmb allocations
In commit 6e4675b8e5d8 ("lmb: replace the lmb_alloc() and lmb_alloc_base() API's") an additional allocation was mistakenly introduced resulting in ${kernel_comp_size} containing the address of a second 64mb region rather than the actual value of KERNEL_COMP_SIZE. Additionally, in commit b40d7b8f72f1 ("Merge patch series "lmb: use a single API for all allocations"") merge conflict resulted in an additional 128mb allocation for ${loadaddr} when CONFIG_FASTBOOT is enabled, where it should actually be set to the same value as ${fastboot_addr_r} to respect size constraints (and since it doesn't seem to interfer with any bootflows). Fixup both of these, freeing up 192mb of memory. Fixes: 6e4675b8e5d8 ("lmb: replace the lmb_alloc() and lmb_alloc_base() API's") Fixes: b40d7b8f72f1 ("Merge patch series "lmb: use a single API for all allocations"") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Casey Connolly <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions