[U-Boot] [BUG] divide by 0 in spi flash probe

Vignesh R vigneshr at ti.com
Mon Aug 29 07:56:44 CEST 2016



On Monday 29 August 2016 11:19 AM, Chris Packham wrote:
> Hi,
> 
> I'm updating support for a board which uses the Armada-385 from u-boot
> v2016.05 to use the latest master (v2016.09-rc2 plus a bit).
> 
> When I run "sf probe" I get a divide by 0 in mvebu_spi_set_speed
> because hz has made it through as 0.
> 

There is a bug when sf probe is called second time. This bug is fixed
by: https://patchwork.ozlabs.org/patch/659979/

Could you try if this patch helps?


-- 
Regards
Vignesh


More information about the U-Boot mailing list