]> rtime.felk.cvut.cz Git - vajnamar/linux-xlnx.git/commit
edac: synopsys: fix incorrect macro defines
authorNaga Sureshkumar Relli <naga.sureshkumar.relli@xilinx.com>
Wed, 18 Oct 2017 10:59:26 +0000 (16:29 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 27 Oct 2017 12:39:09 +0000 (14:39 +0200)
commita5aa440aa346ae898994f288dc67396485ac61f2
tree7be5b00ab43a3c955be81409d614693c98a5eda4
parent55a18f3dd24130db2e6219780a3f0d15c6869e9a
edac: synopsys: fix incorrect macro defines

device_config[31:30] in MSTR register of ddrc Indicates the configuration
of the device used in the system as follows
- 00 - x4 device
- 01 - x8 device
- 10 - x16 device
- 11 - x32 device
for x16 and x32, instead of 2 and 3 we added 0x10 and 0x11 which is wrong.
This patch corrects these macro defines.

Signed-off-by: Naga Sureshkumar Relli <nagasure@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/edac/synopsys_edac.c