diff options
author | Simon Glass <sjg@chromium.org> | 2024-10-28 13:47:59 +0100 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2024-11-09 09:52:43 +0100 |
commit | 6e6a940c70b63c1d0e11221adb18973568ac9ec9 (patch) | |
tree | d824b3c5f1e7955e5fef83f35b30c4bef701630c | |
parent | a7a96a37cbd875994bc8d25adb0536bf00e4a30e (diff) |
lmb: Drop extra 16KB of stack space
There is already a defined stack-size which is used to reserve space for
the stack. It is confusing to add more in the lmb module, since then the
memory map (with meminfo command) seems to have a hole in it.
Drop this unnecessary feature.
Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | lib/lmb.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/lmb.c b/lib/lmb.c index 2ed0da21b45..8b306e4de8e 100644 --- a/lib/lmb.c +++ b/lib/lmb.c @@ -220,8 +220,6 @@ static void lmb_reserve_uboot_region(void) */ debug("## Current stack ends at 0x%08lx ", (ulong)rsv_start); - /* adjust sp by 16K to be safe */ - rsv_start -= SZ_16K; for (bank = 0; bank < CONFIG_NR_DRAM_BANKS; bank++) { if (!gd->bd->bi_dram[bank].size || rsv_start < gd->bd->bi_dram[bank].start) |