From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.ebshome.net (gate.ebshome.net [64.81.67.12]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "gate.ebshome.net", Issuer "gate.ebshome.net" (not verified)) by ozlabs.org (Postfix) with ESMTP id D3CFB67B19 for ; Tue, 26 Apr 2005 05:55:25 +1000 (EST) Date: Mon, 25 Apr 2005 12:55:20 -0700 From: Eugene Surovegin To: Marcelo Tosatti Message-ID: <20050425195519.GA2970@gate.ebshome.net> References: <20050413195713.GF11131@logos.cnet> <20050425145029.GD3112@smtp.west.cox.net> <20050425143619.GF25420@logos.cnet> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20050425143619.GF25420@logos.cnet> Cc: Tom Rini , linux-ppc-embedded Subject: Re: [RFC] attempt to remove misc-embedded.c List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, Apr 25, 2005 at 11:36:19AM -0300, Marcelo Tosatti wrote: > So the plan is to move all cpu specific code in decompress_kernel() to cpu specific code :) > > Including > > #ifdef CONFIG_44x > /* Reset MAL */ > mtdcr(DCRN_MALCR(DCRN_MAL_BASE), MALCR_MMSR); > /* Wait for reset */ > while (mfdcr(DCRN_MALCR(DCRN_MAL_BASE)) & MALCR_MMSR) {}; > /* Reset EMAC */ > *(volatile unsigned long *)PPC44x_EMAC0_MR0 = 0x20000000; > __asm__ __volatile__("eieio"); > #endif Hmm, strange, 2.4 has this code already moved to misc-44x.c, I wonder why this change never made it to 2.6. Marcelo, I assume you are going to make this look like 2.4, right? -- Eugene