From: Paul Walmsley Date: Wed, 21 Nov 2007 00:16:22 +0000 (-0700) Subject: Runtime constants: use runtime-computed SDRC base X-Git-Tag: v2.6.24-omap1~175 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b5f8cdb222052a7aa02ed38c59e0af1946b1e06;p=pandora-kernel.git Runtime constants: use runtime-computed SDRC base Create a global variable, omap2_sdrc_base, that is initialized with the appropriate SDRC base address at runtime during architecture initialization. Convert users of the preprocessor define, OMAP2_SDRC_BASE, to use the runtime-computed address. Create sdrc_{read,write}_reg() to handle register access to these functions - these live in a newly-created file, asm/arch/mach-omap2/sdrc.h. Move the SDRC register definitions into include/asm-arm/arch-omap/sdrc.h, so they can be included in assembly language files. Signed-off-by: Paul Walmsley Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed