[PATCH 03/26] common: fdt_support: Support special case of PCI address in fdt_read_prop()

Simon Glass sjg at chromium.org
Mon Feb 8 05:21:05 CET 2021


Hi Bin,

On Sun, 7 Feb 2021 at 08:11, Bin Meng <bmeng.cn at gmail.com> wrote:
>
> At present fdt_read_prop() can only handle 1 or 2 cells. It is
> called by fdt_read_range() which may be used to read PCI address
> from <ranges> for a PCI bus node where the number of PCI address
> cell is 3.
>
> This adds the special handling of such case.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
>  common/fdt_support.c | 15 ++++++++++++---
>  1 file changed, 12 insertions(+), 3 deletions(-)

I think this is missing why it is needed. Also needs an update to
function to the comment in the header file.

Regards,
Simon


More information about the U-Boot mailing list