powerpc/4xx: Necessary fixes to PCI for 4GB RAM size
authorIlya Yanok <yanok@emcraft.com>
Mon, 1 Sep 2008 07:53:22 +0000 (17:53 +1000)
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>
Tue, 2 Sep 2008 12:31:10 +0000 (08:31 -0400)
The declaration of total_memory removed.  Now including <mm/mmu_decl.h>
instead.  Since total_memory is a phys_addr_t which is 64-bit on 44x and
is_power_of_2() works with u32 so I just inlined (size & (size-1)) != 0
instead.

Also this patch fixes default initialization: res->end should be 0x7fffffff
not 0x80000000.

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Acked-by: Stefan Roese <sr@denx.de>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>

No differences found