[U-Boot-Users] pci auto allocate region problem?

xianghui ren renfamilyxh at gmail.com
Thu Dec 6 02:14:18 CET 2007

hello, everybody:
In pciauto_region_allocate function, I can't  understand the mean of  the
sentence "addr = ((res->bus_lower - 1) | (size - 1)) + 1;".
why to do "-1" and "+1" operate?
why to do or operate?
What does the variable "addr" mean?

Thanks in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20071206/456678b2/attachment.htm 

More information about the U-Boot mailing list