Re: [PATCH v3 17/27] lmb: do away with arch_lmb_reserve()

2024-08-23 Thread Sughosh Ganu
On Sat, 24 Aug 2024 at 02:17, Simon Glass wrote: > > Hi Sughosh, > > On Wed, 21 Aug 2024 at 05:00, Sughosh Ganu wrote: > > > > All of the current definitions of arch_lmb_reserve() are doing the > > same thing -- reserve the region of memory occupied by U-Boot, > > starting from the current stack

Re: [PATCH v3 17/27] lmb: do away with arch_lmb_reserve()

2024-08-23 Thread Simon Glass
Hi Sughosh, On Wed, 21 Aug 2024 at 05:00, Sughosh Ganu wrote: > > All of the current definitions of arch_lmb_reserve() are doing the > same thing -- reserve the region of memory occupied by U-Boot, > starting from the current stack address to the ram_top. Introduce a > function lmb_reserve_uboot_

[PATCH v3 17/27] lmb: do away with arch_lmb_reserve()

2024-08-21 Thread Sughosh Ganu
All of the current definitions of arch_lmb_reserve() are doing the same thing -- reserve the region of memory occupied by U-Boot, starting from the current stack address to the ram_top. Introduce a function lmb_reserve_uboot_region() which does this, and do away with the arch_lmb_reserve() function