Re: [U-Boot] A problem about 'sf probe' using DM_SPI

2016-05-01 Thread Simon Glass
Hi, On 20 April 2016 at 21:22, Qianyu Gong wrote: > Hi Simon, > >> -Original Message- >> From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass >> Sent: Wednesday, April 20, 2016 10:41 PM >> To: Qianyu Gong >> Cc: u-boot@lists.denx.de; Mingkai Hu ; Yao Yuan >> ; jt...@op

Re: [U-Boot] A problem about 'sf probe' using DM_SPI

2016-04-20 Thread Qianyu Gong
Hi Simon, > -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: Wednesday, April 20, 2016 10:41 PM > To: Qianyu Gong > Cc: u-boot@lists.denx.de; Mingkai Hu ; Yao Yuan > ; jt...@openedev.com > Subject: Re: A problem about 'sf probe' using DM

Re: [U-Boot] A problem about 'sf probe' using DM_SPI

2016-04-20 Thread Simon Glass
Hi, On 12 April 2016 at 21:13, Qianyu Gong wrote: > Hi Simon, > >> -Original Message- >> From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass >> Sent: Saturday, April 09, 2016 3:13 AM >> To: Qianyu Gong >> Cc: u-boot@lists.denx.de; Mingkai Hu ; Yao Yuan >> ; jt...@open

Re: [U-Boot] A problem about 'sf probe' using DM_SPI

2016-04-12 Thread Qianyu Gong
Hi Simon, > -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: Saturday, April 09, 2016 3:13 AM > To: Qianyu Gong > Cc: u-boot@lists.denx.de; Mingkai Hu ; Yao Yuan > ; jt...@openedev.com > Subject: Re: A problem about 'sf probe' using DM_S

Re: [U-Boot] A problem about 'sf probe' using DM_SPI

2016-04-08 Thread Simon Glass
Hi Qianyu, On 25 March 2016 at 03:34, Qianyu Gong wrote: > Hi Simon, > > > > I think I’m not very clear with this code in common/cmd_sf.c: > > “ > > # ifdef CONFIG_DM_SPI_FLASH > >/* Remove the old device, otherwise probe will just be a nop */ > >ret = spi_find_bus_and_cs(bus, cs,

[U-Boot] A problem about 'sf probe' using DM_SPI

2016-03-25 Thread Qianyu Gong
Hi Simon, I think I'm not very clear with this code in common/cmd_sf.c: " # ifdef CONFIG_DM_SPI_FLASH /* Remove the old device, otherwise probe will just be a nop */ ret = spi_find_bus_and_cs(bus, cs, &bus_dev, &new); if (!ret) { device_remove(new);