[RFC PATCH v2 18/48] lmb: introduce a function to add memory to the lmb memory map
Tom Rini
trini at konsulko.com
Mon Jul 8 16:11:42 CEST 2024
On Thu, Jul 04, 2024 at 01:05:14PM +0530, Sughosh Ganu wrote:
> Introduce a function lmb_add_memory() to add available memory to the
> LMB memory map. Call this function during board init once the LMB data
> structures have been initialised.
>
> Signed-off-by: Sughosh Ganu <sughosh.ganu at linaro.org>
> ---
> Changes since V1:
> * Add memory only till ram_top to the LMB memory map, instead of all
> enumerated memory.
>
> include/lmb.h | 11 +++++++++++
> lib/lmb.c | 42 ++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 53 insertions(+)
Checkpatch:
ERROR: space prohibited before that close parenthesis ')'
#78: FILE: lib/lmb.c:274:
+ if (rgn_top > ram_top )
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20240708/d1b9411f/attachment.sig>
More information about the U-Boot
mailing list