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)
committerLee Jones <lee.jones@linaro.org>
Wed, 14 Apr 2021 15:03:37 +0000 (16:03 +0100)
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>
include/linux/mfd/intel-m10-bmc.h

index 74d4e193966a9a846d22e9de62fb1dc4db3c1632..9b54ca13eac3cabbe344f37a3252667623c35bce 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