From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.10]) by ozlabs.org (Postfix) with ESMTP id 166C7DDFC1 for ; Wed, 13 May 2009 16:41:02 +1000 (EST) Message-ID: <4A0A683B.5010209@denx.de> Date: Wed, 13 May 2009 08:27:07 +0200 From: Heiko Schocher MIME-Version: 1.0 To: Wolfgang Denk Subject: Re: [PATCH] [PowerPC] MPC8272ADS: fix device tree for 8 MB flash, size References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Cc: Scott Wood , linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org Reply-To: hs@denx.de List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hello Wolfgang, > The current device tree for the MPC8272ADS assumes a mapping of 32 MB > of NOR flash at 0xFE00.0000, while there are actually only 8 MB on > the boards, mapped at 0xFF80.0000. When booting an uImage with such a > device tree, the kernel crashes because 0xFE00.0000 is not mapped. Wouldn;t it be better, if u-boot fixes the device tree entries? I think, u-boot should know, where the flash begins and ends, and because this is maybe a dynamic variable for this board, it should be better, if u-boot fixes this, so no need for adding a device tree for every board variant. bye Heiko -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany