]> git.sur5r.net Git - u-boot/commit
fdt_support: Make of_bus_default_count_cells non static
authorArnab Basu <arnab.basu@freescale.com>
Mon, 8 Sep 2014 19:19:59 +0000 (12:19 -0700)
committerYork Sun <yorksun@freescale.com>
Thu, 25 Sep 2014 15:36:19 +0000 (08:36 -0700)
commitf43b4356a794be647011132f4f2dc970a29a9dd5
treea5a2195993c3c9840e00bdc4891ebaca88585bd7
parent08df4a21c7d580770cabd7ba62591da035d9a545
fdt_support: Make of_bus_default_count_cells non static

of_bus_default_count_cells can be used to get the #address-cells
and #size-cells defined by the current node's parent node. This
is required when using of_read_number to read from FDT nodes that
can be 32 or 64 bytes depending on values defined by the parent.

Signed-off-by: Arnab Basu <arnab.basu@freescale.com>
CC: Scott Wood <scottwood@freescale.com>
common/fdt_support.c
include/fdt_support.h