From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thierry Reding Date: Tue, 16 Apr 2019 10:06:57 +0200 Subject: [U-Boot] [PATCH 1/3] dm: core: Add dev_read_bytes() In-Reply-To: References: <20190415091047.26218-1-thierry.reding@gmail.com> Message-ID: <20190416080657.GB10907@ulmo> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Apr 15, 2019 at 09:21:45PM +0000, Joe Hershberger wrote: > On Mon, Apr 15, 2019 at 4:11 AM Thierry Reding wrote: > > > > From: Thierry Reding > > > > 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 > > 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: