commit | f450f28e70a2378d9d6ded0932fe480055888cfa | [log] [tgz] |
---|---|---|
author | Dinh Nguyen <dinguyen@kernel.org> | Fri Sep 22 13:42:47 2017 -0500 |
committer | Philipp Zabel <p.zabel@pengutronix.de> | Wed Oct 04 10:29:44 2017 +0200 |
tree | f18259410861b6a69016cfcac9be0ee75888d28f | |
parent | 544e3bf4f0e8278400f19ca7918a3cdf2548b4eb [diff] |
reset: socfpga: fix for 64-bit compilation The SoCFPGA Stratix10 reset controller has 32-bit registers. Thus, we cannot use BITS_PER_LONG in computing the register and bit offset. Instead, we should be using the width of the hardware register for the calculation. Signed-off-by: Dinh Nguyen <dinguyen@kernel.org> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>