Merge patch series "various memory related fixups"
rs@ti.com <rs@ti.com> says: From: Randolph Sapp <rs@ti.com> Nitpicks and fixes from the discovery thread on adding PocketBeagle2 support [1]. This does a lot of general setup required for the device, but these modifications themselves aren't device specific. For those specifically interested in PocketBeagle2 support and don't care about these details, my development branch is public [2]. That first patch may provoke some opinions, but honestly if that warning was still present I wouldn't have spent a week poking holes in both the EFI and LMB allocations systems. Please let me know if there is a specific usecase that it breaks though. [1] https://lore.kernel.org/all/DHHC66BBMD27.YHGIH43C6XBK@ti.com/ [2] https://github.com/StaticRocket/u-boot/tree/feature/pocketbeagle2 Link: https://lore.kernel.org/r/20260604155038.3182-1-rs@ti.com
This commit is contained in:
+8
-1
@@ -330,6 +330,8 @@ __weak int arch_setup_dest_addr(void)
|
||||
|
||||
static int setup_dest_addr(void)
|
||||
{
|
||||
int ret;
|
||||
|
||||
debug("Monitor len: %08x\n", gd->mon_len);
|
||||
/*
|
||||
* Ram is setup, size stored in gd !!
|
||||
@@ -356,7 +358,12 @@ static int setup_dest_addr(void)
|
||||
gd->relocaddr = gd->ram_top;
|
||||
debug("Ram top: %08llX\n", (unsigned long long)gd->ram_top);
|
||||
|
||||
return arch_setup_dest_addr();
|
||||
ret = arch_setup_dest_addr();
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
gd->initial_relocaddr = gd->relocaddr;
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifdef CFG_PRAM
|
||||
|
||||
Reference in New Issue
Block a user