Commit e150e3f4 authored by Wu Hao's avatar Wu Hao Committed by Greg Kroah-Hartman

fpga: dfl-fme-mgr: fix FME_PR_INTFC_ID register address.

FME_PR_INTFC_ID is used as compat_id for fpga manager and region,
but high 64 bits and low 64 bits of the compat_id are swapped by
mistake. This patch fixes this problem by fixing register address.
Signed-off-by: default avatarWu Hao <hao.wu@intel.com>
Acked-by: default avatarAlan Tull <atull@kernel.org>
Acked-by: default avatarMoritz Fischer <mdf@kernel.org>
Signed-off-by: default avatarMoritz Fischer <mdf@kernel.org>
Link: https://lore.kernel.org/r/20190628004951.6202-2-mdf@kernel.orgSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f505e91e
...@@ -30,8 +30,8 @@ ...@@ -30,8 +30,8 @@
#define FME_PR_STS 0x10 #define FME_PR_STS 0x10
#define FME_PR_DATA 0x18 #define FME_PR_DATA 0x18
#define FME_PR_ERR 0x20 #define FME_PR_ERR 0x20
#define FME_PR_INTFC_ID_H 0xA8 #define FME_PR_INTFC_ID_L 0xA8
#define FME_PR_INTFC_ID_L 0xB0 #define FME_PR_INTFC_ID_H 0xB0
/* FME PR Control Register Bitfield */ /* FME PR Control Register Bitfield */
#define FME_PR_CTRL_PR_RST BIT_ULL(0) /* Reset PR engine */ #define FME_PR_CTRL_PR_RST BIT_ULL(0) /* Reset PR engine */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment