memory: jz4780_nemc: Only request IO memory the driver will use
authorPaul Cercueil <paul@crapouillou.net>
Tue, 28 Jul 2020 15:26:29 +0000 (17:26 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Tue, 28 Jul 2020 15:34:15 +0000 (17:34 +0200)
commitf046e4a3f0b95bcc410116acbe7e04e648d48f97
tree40ea9ebabcf01ae32b8c070280e36754825662bd
parent4cd87f5bfded0404fa4463c8a3de8abe5327268c
memory: jz4780_nemc: Only request IO memory the driver will use

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.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Tested-by: H. Nikolaus Schaller <hns@goldelico.com>
Link: https://lore.kernel.org/r/20200728152629.28878-1-paul@crapouillou.net
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
drivers/memory/jz4780-nemc.c