Re: [PATCH v2] memory: jz4780_nemc: Only request IO memory the driver will use

From: Krzysztof Kozlowski
Date: Tue Jul 28 2020 - 11:34:50 EST


On Tue, Jul 28, 2020 at 05:26:29PM +0200, Paul Cercueil wrote:
> The driver only uses the registers up to offset 0x54. Since the EFUSE
> registers are in the middle of the NEMC registers, we only request
> the registers we will use for now - that way the EFUSE driver can
> probe too.
>
> Tested-by: H. Nikolaus Schaller <hns@xxxxxxxxxxxxx>
> Signed-off-by: Paul Cercueil <paul@xxxxxxxxxxxxxxx>
> ---
>
> Notes:
> v2: Only ioremap() the registers we will use
>
> drivers/memory/jz4780-nemc.c | 17 ++++++++++++++++-

Thanks, applied.

Best regards,
Krzysztof