[PATCH] soc: fsl: qbman: Remove RESERVEDMEM_OF_DECLARE usage

Rob Herring robh at kernel.org
Wed Mar 6 05:02:00 AEDT 2024


On Thu, 01 Feb 2024 13:29:30 -0600, Rob Herring wrote:
> There is no reason to use RESERVEDMEM_OF_DECLARE() as the initialization
> hook just saves off the base address and size. Use of
> RESERVEDMEM_OF_DECLARE() is reserved for non-driver code and
> initialization which must be done early. For qbman, retrieving the
> address and size can be done in probe just as easily.
> 
> Signed-off-by: Rob Herring <robh at kernel.org>
> ---
>  drivers/soc/fsl/qbman/bman_ccsr.c | 27 +++---------
>  drivers/soc/fsl/qbman/dpaa_sys.c  | 12 +++--
>  drivers/soc/fsl/qbman/dpaa_sys.h  |  4 +-
>  drivers/soc/fsl/qbman/qman_ccsr.c | 73 ++++++++++---------------------
>  4 files changed, 38 insertions(+), 78 deletions(-)
> 

No one is going to pick this up? I applied to the DT tree.

Rob


More information about the Linuxppc-dev mailing list