2 * arch/ppc/boot/common/cpc700_memory.c
4 * Find memory based upon settings in the CPC700 bridge
8 * 2001-2002 (c) MontaVista, Software, Inc. This file is licensed under
9 * the terms of the GNU General Public License version 2. This program
10 * is licensed "as is" without any warranty of any kind, whether express
14 #include <asm/types.h>
19 cpc700_get_mem_size(void)
22 unsigned long len, amt;
24 /* Start at MB1EA, since MB0EA will most likely be the ending address
26 for(len = 0, i = CPC700_MB1EA; i <= CPC700_MB4EA; i+=4) {
27 amt = cpc700_read_memreg(i);