summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorXu Yilun <yilun.xu@intel.com>2021-03-10 23:55:45 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-11 14:47:31 +0200
commitd7ec1dab6be76a1727e20797796d2e5802601520 (patch)
tree2cf27afdc3b4eb77cb0fea6fd3c6b7001b6b493f /include
parentc8fe9ef530e9e16a3ef486eb3d762fbee91f8f22 (diff)
mfd: intel-m10-bmc: Fix the register access range
[ Upstream commit d9b326b2c3673f939941806146aee38e5c635fd0 ] This patch fixes the max register address of MAX 10 BMC. The range 0x20000000 ~ 0x200000fc are for control registers of the QSPI flash controller, which are not accessible to host. Signed-off-by: Xu Yilun <yilun.xu@intel.com> Reviewed-by: Tom Rix <trix@redhat.com> Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mfd/intel-m10-bmc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mfd/intel-m10-bmc.h b/include/linux/mfd/intel-m10-bmc.h
index c8ef2f1654a4..06da62c25234 100644
--- a/include/linux/mfd/intel-m10-bmc.h
+++ b/include/linux/mfd/intel-m10-bmc.h
@@ -11,7 +11,7 @@
#define M10BMC_LEGACY_SYS_BASE 0x300400
#define M10BMC_SYS_BASE 0x300800
-#define M10BMC_MEM_END 0x200000fc
+#define M10BMC_MEM_END 0x1fffffff
/* Register offset of system registers */
#define NIOS2_FW_VERSION 0x0