]> git.ipfire.org Git - people/ms/u-boot.git/commit - common/fdt_support.c
fdt: Try to use fdt_address_cells()/fdt_size_cells()
authorSimon Glass <sjg@chromium.org>
Fri, 24 Oct 2014 00:58:57 +0000 (18:58 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 21 Nov 2014 03:43:18 +0000 (04:43 +0100)
commit933cdbb479aa87dcb6e3e333c3d1e04b0e7de1ec
tree69cd2d313126c7114b56ec9497e0b3dcef8f04a0
parent2640387148ad5e0197a8ac80c24f3473dee42a65
fdt: Try to use fdt_address_cells()/fdt_size_cells()

Use these new functions where possible. They default to a value of 2 so we
cannot use them in some places where we need a default value of 1.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@ti.com>
board/freescale/mpc8641hpcn/mpc8641hpcn.c
common/fdt_support.c