From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephan Linz Date: Tue, 22 Jun 2010 11:46:23 +0200 Subject: [U-Boot] [PATCH 3/4] microblaze: enable LMB support In-Reply-To: <4C206538.4060800@monstr.eu> References: <308ae01a01a2154a393cae570d6070ad4e3a449b.1277152789.git.linz@li-pro.net> <4C206538.4060800@monstr.eu> Message-ID: <201006221146.23964.linz@li-pro.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Am Dienstag, 22. Juni 2010 09:24:40 schrieb Michal Simek: > Stephan Linz wrote: > > Foresighted to support flat device tree realocations we need to use > > the new Logical memory blocks library in a manner as been used by all > > other architectures. > > > > Signed-off-by: Stephan Linz > > --- > > arch/microblaze/include/asm/config.h | 2 ++ > > 1 files changed, 2 insertions(+), 0 deletions(-) > > > > diff --git a/arch/microblaze/include/asm/config.h > > b/arch/microblaze/include/asm/config.h index 8a9064b..ec2c316 100644 > > --- a/arch/microblaze/include/asm/config.h > > +++ b/arch/microblaze/include/asm/config.h > > @@ -21,6 +21,8 @@ > > #ifndef _ASM_CONFIG_H_ > > #define _ASM_CONFIG_H_ > > > > +#define CONFIG_LMB > > + > > I see what you are trying to do but what > is your point with enabling LMB support ? Hm, mainly a clean compilation. Without this define I can not enable the flat device tree handling. LMB is quite new in U-Boot (PowerPC) and there are some dependencies to the FDT support. That force to enable even this feature on MicroBlaze too. I want to avoid a deep intrusion into the code. > > I am not sure if this enabling bring us any feature which we need. Hm, could you pleace consult the PowerPC folks? I think LMB is used to transfer system memory map from U-Boot to Linux kernel in a common way (similar like on x86 PC from BIOS to kernel), or not? Any comments? br, Stephan > > Thanks, > Michal -- Viele Gr??e, Stephan Linz ______________________________________________________________________________ OpenDCC: http://www.li-pro.net/opendcc.phtml PC/M: http://www.li-pro.net/pcm.phtml CDK4AVR: http://cdk4avr.sourceforge.net/ CDK4NIOS: http://cdk4nios.sourceforge.net/ CDK4MSP: http://cdk4msp.sourceforge.net/ CPM4L: http://download.opensuse.org/repositories/home:/rexut:/CPM4L