On Mon, Oct 8, 2018 at 2:10 PM Thomas Petazzoni
wrote:
>
> Hello,
>
> On Mon, 8 Oct 2018 19:46:27 +0200, Boris Brezillon wrote:
>
> > > + /* Check if mtdparts/mtdids changed since last call, otherwise: exit
> > > */
> > > + if (!strcmp(mtdparts, old_mtdparts) && !strcmp(mtdids, old_mtdids))
Hello,
On Mon, 8 Oct 2018 19:46:27 +0200, Boris Brezillon wrote:
> > + /* Check if mtdparts/mtdids changed since last call, otherwise: exit */
> > + if (!strcmp(mtdparts, old_mtdparts) && !strcmp(mtdids, old_mtdids))
> > + return 0;
>
> Should be:
>
> if ((!mtdparts &&
On Mon, Oct 8, 2018 at 12:46 PM Boris Brezillon
wrote:
>
> On Mon, 1 Oct 2018 15:43:29 +0200
> Miquel Raynal wrote:
>
> > +#if defined(CONFIG_MTD_PARTITIONS)
> > +int mtd_probe_devices(void)
> > +{
> > + static char *old_mtdparts;
> > + static char *old_mtdids;
> > + const char
On Mon, 1 Oct 2018 15:43:29 +0200
Miquel Raynal wrote:
> +#if defined(CONFIG_MTD_PARTITIONS)
> +int mtd_probe_devices(void)
> +{
> + static char *old_mtdparts;
> + static char *old_mtdids;
> + const char *mtdparts = env_get("mtdparts");
> + const char *mtdids =
On Mon, 8 Oct 2018 11:58:40 -0500
Adam Ford wrote:
> On Mon, Oct 8, 2018 at 11:52 AM Adam Ford wrote:
> >
> > On Mon, Oct 8, 2018 at 11:28 AM Boris Brezillon
> > wrote:
> > >
> > > Hi Adam,
> > >
> > > On Mon, 8 Oct 2018 11:13:40 -0500
> > > Adam Ford wrote:
> > >
> > > > On Wed, Oct 3,
On Mon, Oct 8, 2018 at 11:52 AM Adam Ford wrote:
>
> On Mon, Oct 8, 2018 at 11:28 AM Boris Brezillon
> wrote:
> >
> > Hi Adam,
> >
> > On Mon, 8 Oct 2018 11:13:40 -0500
> > Adam Ford wrote:
> >
> > > On Wed, Oct 3, 2018 at 8:41 AM Adam Ford wrote:
> > > >
> > > > On Wed, Oct 3, 2018 at 8:35 AM
On Mon, Oct 8, 2018 at 11:28 AM Boris Brezillon
wrote:
>
> Hi Adam,
>
> On Mon, 8 Oct 2018 11:13:40 -0500
> Adam Ford wrote:
>
> > On Wed, Oct 3, 2018 at 8:41 AM Adam Ford wrote:
> > >
> > > On Wed, Oct 3, 2018 at 8:35 AM Miquel Raynal
> > > wrote:
> > > >
> > > > Hi Adam,
> > > >
> > > > > >
Hi Adam,
On Mon, 8 Oct 2018 11:13:40 -0500
Adam Ford wrote:
> On Wed, Oct 3, 2018 at 8:41 AM Adam Ford wrote:
> >
> > On Wed, Oct 3, 2018 at 8:35 AM Miquel Raynal
> > wrote:
> > >
> > > Hi Adam,
> > >
> > > > >
> > > > > >
> > > > > > >
> > > > > > > I can use the nand read/write
On Wed, Oct 3, 2018 at 8:41 AM Adam Ford wrote:
>
> On Wed, Oct 3, 2018 at 8:35 AM Miquel Raynal
> wrote:
> >
> > Hi Adam,
> >
> > > >
> > > > >
> > > > > >
> > > > > > I can use the nand read/write functions and mtdparts lists the
> > > > > > partitions, so I know nand works. My defconfig
> >
On Wed, Oct 3, 2018 at 8:35 AM Miquel Raynal wrote:
>
> Hi Adam,
>
> > >
> > > >
> > > > >
> > > > > I can use the nand read/write functions and mtdparts lists the
> > > > > partitions, so I know nand works. My defconfig
> > > > > lists the partitions, so if we're not supposed to use mtdparts,
Hi Adam,
> >
> > >
> > > >
> > > > I can use the nand read/write functions and mtdparts lists the
> > > > partitions, so I know nand works. My defconfig
> > > > lists the partitions, so if we're not supposed to use mtdparts, where
> > > > I do store the partition information?
> > >
>
Hi Adam,
Adam Ford wrote on Wed, 3 Oct 2018 07:47:25 -0500:
> On Wed, Oct 3, 2018 at 7:43 AM Miquel Raynal
> wrote:
> >
> > Hi Adam,
> >
> > Adam Ford wrote on Wed, 3 Oct 2018 07:35:15 -0500:
> >
> > > On Mon, Oct 1, 2018 at 8:48 AM Miquel Raynal
> > > wrote:
> > > >
> > > > There
On Wed, Oct 3, 2018 at 7:43 AM Miquel Raynal wrote:
>
> Hi Adam,
>
> Adam Ford wrote on Wed, 3 Oct 2018 07:35:15 -0500:
>
> > On Mon, Oct 1, 2018 at 8:48 AM Miquel Raynal
> > wrote:
> > >
> > > There should not be a 'nand' command, a 'sf' command and certainly not
> > > a new 'spi-nand'
Hi Adam,
Adam Ford wrote on Wed, 3 Oct 2018 07:35:15 -0500:
> On Mon, Oct 1, 2018 at 8:48 AM Miquel Raynal
> wrote:
> >
> > There should not be a 'nand' command, a 'sf' command and certainly not
> > a new 'spi-nand' command. Write a 'mtd' command instead to manage all
> > MTD
On Mon, Oct 1, 2018 at 8:48 AM Miquel Raynal wrote:
>
> There should not be a 'nand' command, a 'sf' command and certainly not
> a new 'spi-nand' command. Write a 'mtd' command instead to manage all
> MTD devices/partitions at once. This should be the preferred way to
> access any MTD device.
Hi Jagan,
Jagan Teki wrote on Mon, 1 Oct 2018 21:49:32 +0530:
> On Monday 01 October 2018 07:13 PM, Miquel Raynal wrote:
> > There should not be a 'nand' command, a 'sf' command and certainly not
> > a new 'spi-nand' command. Write a 'mtd' command instead to manage all
> > MTD
On Monday 01 October 2018 07:13 PM, Miquel Raynal wrote:
There should not be a 'nand' command, a 'sf' command and certainly not
a new 'spi-nand' command. Write a 'mtd' command instead to manage all
MTD devices/partitions at once. This should be the preferred way to
access any MTD device.
There should not be a 'nand' command, a 'sf' command and certainly not
a new 'spi-nand' command. Write a 'mtd' command instead to manage all
MTD devices/partitions at once. This should be the preferred way to
access any MTD device.
Signed-off-by: Miquel Raynal
Acked-by: Jagan Teki
Reviewed-by:
18 matches
Mail list logo