dm: core: Add livetree address functions
authorSimon Glass <sjg@chromium.org>
Fri, 19 May 2017 02:08:59 +0000 (20:08 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 1 Jun 2017 13:03:07 +0000 (07:03 -0600)
commit38d21b418dd2207c89cdbdd6f38f7ee512c47da1
tree5025446732089d079ad988f8407a935870c57cb0
parent9e51204527dcae59a326c51a71c9b80effd8db05
dm: core: Add livetree address functions

Add functions to access addresses in the device tree. These are brought
in from Linux 4.10.

Also fix up the header guard for fdtaddr.h to avoid confusion.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/Makefile
drivers/core/of_addr.c [new file with mode: 0644]
include/dm/fdtaddr.h
include/dm/of_addr.h [new file with mode: 0644]