[PATCH] of: fdt: modify small size memory check

From: skseofh
Date: Mon Mar 04 2024 - 10:03:11 EST



>>
>> From: Daero Lee <skseofh@xxxxxxxxx>
>>
>> After page aligning, the size may become zero. So I added exception
>> handling code for size 0.
>
>That may be true, but when would anyone only have memory regions of
>less than 2 pages. In any case memblock_add will just do nothing. What
>is the actual problem you are having?
>
>Rob

Ignore the previous mail.
I modified the patch to clear this size check routine. Please check

-------------------------------------------------------------------------