From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Mon, 11 Sep 2017 20:44:42 -0600 Subject: [U-Boot] [PATCH v2 04/19] dm: core: add dev_read_addr_ptr() In-Reply-To: <1505121512-23283-5-git-send-email-philipp.tomsich@theobroma-systems.com> References: <1505121512-23283-1-git-send-email-philipp.tomsich@theobroma-systems.com> <1505121512-23283-5-git-send-email-philipp.tomsich@theobroma-systems.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 11 September 2017 at 03:18, Philipp Tomsich wrote: > The dev_read_addr_ptr() mimics the behaviour of the devfdt_get_addr_ptr(), > retrieving the first address of the node's reg-property and returning > it as a pointer (or NULL on failure). > > Signed-off-by: Philipp Tomsich > Acked-by: Philipp Tomsich > > --- > > Changes in v2: > - implements the dev_read_addr_ptr() function > > drivers/core/read.c | 7 +++++++ > include/dm/read.h | 15 +++++++++++++++ > 2 files changed, 22 insertions(+) Reviewed-by: Simon Glass