/* Pick out the memory size. We look for mem=size@start, where start and size are "size"  */
static void __init early_mem(char **p)
/* Pick out the memory size. We look for mem=size@start, where start and size are "size"  */
static void __init early_mem(char **p)
{
	static int usermem __initdata = 0;
	unsigned long size, start;
	if (usermem == 0) {
		usermem = 1;
		meminfo.nr_banks = 0;
	}
	start = PHYS_OFFSET;
	size  = memparse(*p, p);
	if (**p == '@')
		start = memparse(*p + 1, p);
	arm_add_memory(start, size);
}