[PATCH] soc: aspeed: Use of_reserved_mem_region_to_resource() for "memory-region"
Andrew Jeffery
andrew at codeconstruct.com.au
Sun Jul 20 16:53:01 PDT 2025
On Thu, 03 Jul 2025 13:35:07 -0500, Rob Herring (Arm) wrote:
> Use the newly added of_reserved_mem_region_to_resource() function to
> handle "memory-region" properties.
>
> The error handling is a bit different. "memory-region" is optional, so
> failed lookup is not an error. But then an error in
> of_address_to_resource() is treated as an error. However, that
> distinction is not really important. Either the region is available
> and usable or it is not. So now, it is just
> of_reserved_mem_region_to_resource() which is checked for an error.
>
> [...]
Thanks, I've applied this to be picked up through the BMC tree.
--
Andrew Jeffery <andrew at codeconstruct.com.au>
More information about the linux-arm-kernel
mailing list