]> www.infradead.org Git - users/jedix/linux-maple.git/commit
soc: fsl: qbman: Remove RESERVEDMEM_OF_DECLARE usage
authorRob Herring <robh@kernel.org>
Thu, 1 Feb 2024 19:29:30 +0000 (13:29 -0600)
committerRob Herring <robh@kernel.org>
Thu, 7 Mar 2024 00:30:59 +0000 (18:30 -0600)
commit3e62273ac63aeeb80bd3b24fa0102a4de9972d83
tree593485c2786baf3d258d489f8a6eee273b2d4533
parent4bfb270378c995773960fb0a8c908fc009607a1b
soc: fsl: qbman: Remove RESERVEDMEM_OF_DECLARE usage

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.

Link: https://lore.kernel.org/r/20240201192931.1324130-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/soc/fsl/qbman/bman_ccsr.c
drivers/soc/fsl/qbman/dpaa_sys.c
drivers/soc/fsl/qbman/dpaa_sys.h
drivers/soc/fsl/qbman/qman_ccsr.c