[U-Boot] [PATCH 1/3] dm: core: Add dev_read_bytes()

Thierry Reding thierry.reding at gmail.com
Tue Apr 16 08:06:57 UTC 2019


On Mon, Apr 15, 2019 at 09:21:45PM +0000, Joe Hershberger wrote:
> On Mon, Apr 15, 2019 at 4:11 AM Thierry Reding <thierry.reding at gmail.com> wrote:
> >
> > From: Thierry Reding <treding at nvidia.com>
> >
> > This function can be used to read a binary property into a buffer. One
> > example where this is needed is to read a MAC address from device tree.
> >
> > Signed-off-by: Thierry Reding <treding at nvidia.com>
> 
> Is there a reason dev_read_u8_array_ptr is insuffient?

No, it's perfectly suitable, I just hadn't seen it.

Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190416/c8e64ee6/attachment.sig>


More information about the U-Boot mailing list