From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 21 Aug 2007 23:54:49 +1000 From: David Gibson To: Matt Sealey Subject: Re: OF /chosen/initrd,* variables - patch, official? Message-ID: <20070821135449.GA7438@localhost.localdomain> References: <46CAC89F.2040100@genesi-usa.com> <46CACAAE.5000304@genesi-usa.com> <20070821113232.GB1111@localhost.localdomain> <46CADC61.3050506@genesi-usa.com> <20070821124253.GC1111@localhost.localdomain> <46CAE177.3010508@genesi-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <46CAE177.3010508@genesi-usa.com> Cc: ppc-dev , linuxppc-embedded@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, Aug 21, 2007 at 01:58:31PM +0100, Matt Sealey wrote: > > David Gibson wrote: > > Uh... no... this is in the bootwrapper, long before ppc_md even > > exists. platform_init() is called from arch/powerpc/boot/crt0.S, > > immediately before main(). > > Oh *THAT* platform init. > > So I could just drop a > > } else { > dt_find_initrd(); > } > > .. at the end and nobody would be too disgusted or have any problems? Err.. at the end of what? Each platform has it's own version of platform_init(). -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson