]> git.sur5r.net Git - u-boot/commit
fdt: introduce fdt_verify_alias_address() and fdt_get_base_address()
authorTimur Tabi <timur@freescale.com>
Tue, 3 May 2011 18:24:07 +0000 (13:24 -0500)
committerGerald Van Baren <gvb@unssw.com>
Fri, 15 Jul 2011 01:43:36 +0000 (21:43 -0400)
commitbb682001f16504c2885a4ce5f82bff79df7a83c9
tree20138fc22710710eb3762a550be1873db689b498
parentd1c6314887c4d6712f7bd9ba7428b6517e7732e0
fdt: introduce fdt_verify_alias_address() and fdt_get_base_address()

Introduce two functions, fdt_verify_alias_address() and
fdt_get_base_address(), which can be used to verify the physical address
of a device in a device tree.

fdt_get_base_address() returns the base address of an SOC or PCI node.

fdt_verify_alias_address() prints a message if the address of a node
specified by an alias does not match the given physical address.

Signed-off-by: Timur Tabi <timur@freescale.com>
common/fdt_support.c
include/fdt_support.h