X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=arch%2Farm%2Fmach-clps7500%2Finclude%2Fmach%2Fmemory.h;h=87b32db470c812a10bd48563bb3c2cd71263cfa0;hb=07f841b7c587a3cbf481509be09ba5eda05f8d31;hp=3326aa99d3eceda08e3ca78288e11ca110da6e82;hpb=49b75b87ce2dfbd99e59a50c3681b154d07e3a22;p=linux-2.6-omap-h63xx.git diff --git a/arch/arm/mach-clps7500/include/mach/memory.h b/arch/arm/mach-clps7500/include/mach/memory.h index 3326aa99d3e..87b32db470c 100644 --- a/arch/arm/mach-clps7500/include/mach/memory.h +++ b/arch/arm/mach-clps7500/include/mach/memory.h @@ -32,4 +32,12 @@ #define FLUSH_BASE_PHYS 0x00000000 #define FLUSH_BASE 0xdf000000 +/* + * Sparsemem support. Each section is a maximum of 64MB. The sections + * are offset by 128MB and can cover 128MB, so that gives us a maximum + * of 29 physmem bits. + */ +#define MAX_PHYSMEM_BITS 29 +#define SECTION_SIZE_BITS 26 + #endif