mpc83xx pci: Round up memory size in inbound window.
authorScott Wood <scottwood@freescale.com>
Tue, 28 Oct 2008 16:45:04 +0000 (11:45 -0500)
committerKim Phillips <kim.phillips@freescale.com>
Thu, 30 Oct 2008 20:22:22 +0000 (15:22 -0500)
commite053ab1903ccae6048ef759025b9f675bba91450
treeedcb0add89b298d9c8663331c60b687bef4f6d09
parentb1d0db1805c3395149777e507b6da53410abac4e
mpc83xx pci: Round up memory size in inbound window.

The current calculation will fail to cover all memory if
its size is not a power of two.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
cpu/mpc83xx/pci.c