Skip to content

Commit

Permalink
mfd: intel-m10-bmc: Fix the register access range
Browse files Browse the repository at this point in the history
[ Upstream commit d9b326b ]

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>
  • Loading branch information
Xu Yilun authored and Greg Kroah-Hartman committed May 11, 2021
1 parent c8fe9ef commit d7ec1da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/mfd/intel-m10-bmc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d7ec1da

Please sign in to comment.