From patchwork Fri Dec 2 20:23:35 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: ARM: determine PHYS_OFFSET automatically for no-mmu configs From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 128963 Message-Id: <1322857415-26753-1-git-send-email-u.kleine-koenig@pengutronix.de> To: linux-arm-kernel@lists.infradead.org Cc: kernel@pengutronix.de, Paul Gortmaker , Nicolas Pitre , linux-kernel@vger.kernel.org, Arnd Bergmann Date: Fri, 2 Dec 2011 21:23:35 +0100 From: Nicolas Pitre Signed-off-by: Uwe Kleine-König --- arch/arm/Kconfig | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 44789ef..763de24 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -220,8 +220,9 @@ config NEED_MACH_MEMORY_H be avoided when possible. config PHYS_OFFSET - hex "Physical address of main memory" + hex "Physical address of main memory" if MMU depends on !ARM_PATCH_PHYS_VIRT && !NEED_MACH_MEMORY_H + default DRAM_BASE if !MMU help Please provide the physical address corresponding to the location of main memory in your system.