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.g...@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

Attachment: signature.asc
Description: PGP signature

Reply via email to