]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb05797e7fed077b3939ef188a62950977697d720
tree40ea9ebabcf01ae32b8c070280e36754825662bd
parent198849cf3d3c722434c14bb83bd6cd0d40e626d5
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