From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 14 Apr 2011 10:43:03 +1000 From: David Gibson To: Josh Boyer Subject: Re: [PATCH 2/2] powerpc: Add an ePAPR compliant boot wrapper Message-ID: <20110414004303.GZ3151@yookeroo> References: <34e3e03a96888bc8c20013aa65712123ccf94649.1302676893.git.michael@ellerman.id.au> <732a8ac3a24023f021908d03bd84b76638f381f1.1302676893.git.michael@ellerman.id.au> <20110413130512.GD26874@zod.rchland.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20110413130512.GD26874@zod.rchland.ibm.com> Cc: Michael Ellerman , linuxppc-dev@ozlabs.org, Paul Mackerras List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, Apr 13, 2011 at 09:05:12AM -0400, Josh Boyer wrote: > On Wed, Apr 13, 2011 at 04:38:56PM +1000, Michael Ellerman wrote: > >+++ b/arch/powerpc/boot/epapr.c > >@@ -0,0 +1,69 @@ > >+/* > >+ * Bootwrapper for ePAPR compliant firmwares > > Out of curiosity, do we have a list of the ePAPR compliant firmwares (if > any)? The one this has been tested with is a revised (internal, so far) version of SLOF. For the platform that I believe Michael is in the middle of upstreaming support for. > >+ * > >+ * Copyright 2010 David Gibson , IBM Corporation. > >+ * > >+ * Based on earlier bootwrappers by: > >+ * (c) Benjamin Herrenschmidt , IBM Corp,\ > >+ * and > >+ * Scott Wood > >+ * Copyright (c) 2007 Freescale Semiconductor, Inc. > >+ * > >+ * This program is free software; you can redistribute it and/or modify it > >+ * under the terms of the GNU General Public License version 2 as published > >+ * by the Free Software Foundation. > >+ */ > >+ > >+#include "ops.h" > >+#include "stdio.h" > >+#include "planetcore.h" > >+#include "dcr.h" > >+#include "4xx.h" > >+#include "io.h" > > Do you need planetcore, dcr, and 4xx.h included here? I don't see > anything used that would require them. Ah, no. Leftovers from the files I based this on, I think. -- 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