diff options
author | Simon Glass <sjg@chromium.org> | 2017-05-18 20:08:59 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-06-01 07:03:07 -0600 |
commit | 38d21b418dd2207c89cdbdd6f38f7ee512c47da1 (patch) | |
tree | 5025446732089d079ad988f8407a935870c57cb0 /include/dm/fdtaddr.h | |
parent | 9e51204527dcae59a326c51a71c9b80effd8db05 (diff) | |
download | u-boot-38d21b418dd2207c89cdbdd6f38f7ee512c47da1.tar.gz |
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>
Diffstat (limited to 'include/dm/fdtaddr.h')
-rw-r--r-- | include/dm/fdtaddr.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/dm/fdtaddr.h b/include/dm/fdtaddr.h index ef6e86379f..c46f0e91d0 100644 --- a/include/dm/fdtaddr.h +++ b/include/dm/fdtaddr.h @@ -8,8 +8,8 @@ * SPDX-License-Identifier: GPL-2.0+ */ -#ifndef _DM_ADDR_H -#define _DM_ADDR_H +#ifndef _DM_FDTADDR_H +#define _DM_FDTADDR_H #include <fdtdec.h> |