On Tue, Jul 23, 2019 at 8:19 PM Marek Behún <marek.be...@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.be...@nic.cz>
> ---

Applied to u-boot-spi/master
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to