]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
mfd: intel-m10-bmc: Fix the register access range
authorXu Yilun <yilun.xu@intel.com>
Wed, 10 Mar 2021 15:55:45 +0000 (23:55 +0800)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 19 May 2021 08:32:16 +0000 (10:32 +0200)
BugLink: https://bugs.launchpad.net/bugs/1928857
[ 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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
include/linux/mfd/intel-m10-bmc.h

index c8ef2f1654a4460f34c1ae5856ee78fa29f07830..06da62c25234fd87f290af13e7d47e0bc5a08819 100644 (file)
@@ -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