]> git.dujemihanovic.xyz Git - u-boot.git/commit
common: fdt_support: Add missing cpu_to_fdt32() to fdt_pci_dma_ranges()
authorMarek Vasut <marek.vasut@gmail.com>
Tue, 9 Jul 2019 00:49:29 +0000 (02:49 +0200)
committerSimon Glass <sjg@chromium.org>
Wed, 24 Jul 2019 19:54:08 +0000 (12:54 -0700)
commit867aaf6806d9518366141b332ec42af8bcf95fff
tree74b5b1c29da76fca4d3c706c275b95e7f16b6fd5
parent15d61d04b47806d6dbb91ddf5dc32798c02f4857
common: fdt_support: Add missing cpu_to_fdt32() to fdt_pci_dma_ranges()

The fdt_pci_dma_ranges() cannot work on e.g. ARM, since the DT entries
endianness is not adjusted at all. Fix this.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Tom Rini <trini@konsulko.com>
common/fdt_support.c