lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Mon, 16 May 2016 19:14:07 +0200
From:	Boris Brezillon <>
To:	Moritz Fischer <>
Cc:	David Woodhouse <>,
	Brian Norris <>,,
	Linux Kernel Mailing List <>,
Subject: Re: [PATCH] mtd: Adding of_mtd_info_get to get mtd_info from

On Mon, 16 May 2016 09:30:10 -0700
Moritz Fischer <> wrote:

> Hi Boris,
> On Mon, May 16, 2016 at 1:05 AM, Boris Brezillon
> <> wrote:
> >> Here are a few questions (I'm assuming the netdev + MAC address case):
> >> - how would you link the net/PHY device to the MTD partition storing
> >>   the MAC address  
> Well in my case I actually planned to use it with the OTP partition of my QSPI
> device using spi_nor_read_usr_prot_reg and friends and I just needed a way
> to get to the struct mtd_info from a child of my network device.
> Right now the OTP 'partitions' are not really exposed to device tree afaik.
> Maybe that would be worthwhile to further look into? Maybe exposing
> (wrapping) that as nvmem
> would be the way to go?

I think so. Now that MTD partitions are defined in a 'partitions'
subnode (see MTD binding doc), we can define an 'otp-partitions'
subnode and define nvmem cells in there.

Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering

Powered by blists - more mailing lists