]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
fdt: Fix fdt_pci_dma_ranges handling of 64-bit ranges
authorKumar Gala <galak@kernel.crashing.org>
Wed, 5 Aug 2009 14:03:54 +0000 (09:03 -0500)
committerWolfgang Denk <wd@denx.de>
Sun, 9 Aug 2009 21:13:56 +0000 (23:13 +0200)
commitcfd700be9f5ed289fd57a9bd61e266319badcb0d
treee34dc8ba30df70bd9357f5d64d6e1fbb050c3bd3
parent59b4d7471c42e955bd9846892a0cc7478171778d
fdt: Fix fdt_pci_dma_ranges handling of 64-bit ranges

If the size of a region equal to 4G it can't be represnted in a 32-bit
BAR so we should have marked that case as MEM64.

Additionally bump the number of inbound windows up to 4 to handle the
fact that Freescale PPCs that have an implicit window for CCSRBAR.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
common/fdt_support.c