
14 Aug
2019
14 Aug
'19
9:29 a.m.
On Tue, Jul 23, 2019 at 8:19 PM Marek BehĂșn marek.behun@nic.cz wrote:
The prescaler value computation can yield wrong result if given 0x1f at the beginning: the value is computed to be 0x20, but the maximum value the register can hold 0x1f, so the actual stored value in this case is 0, which is obviously wrong. Set the upper bound of the value to 0x1f with the min macro.
Signed-off-by: Marek BehĂșn marek.behun@nic.cz
Applied to u-boot-spi/master