From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from natfrord.rzone.de (natfrord.rzone.de [81.169.145.161]) by ozlabs.org (Postfix) with ESMTP id 5568E68285 for ; Fri, 16 Sep 2005 02:19:15 +1000 (EST) From: Stefan Roese To: linuxppc-embedded@ozlabs.org Date: Thu, 15 Sep 2005 18:03:14 +0200 References: <431260BA.7000107@jonmasters.org> <20050830083859.B5925@cox.net> In-Reply-To: <20050830083859.B5925@cox.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Message-Id: <200509151803.15301.sr@denx.de> Subject: PPC4xx cleanup List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi, I am right now testing and cleaning up some of the AMCC 4xx eval board ports to better support U-Boot as firmware. One question before I begin to send a few patches: All of the 44x boards I looked at (e.g. Ocotea) have to be extended in the platform file (e.g. platforms/4xx/ocotea.c) to not only copy the bd_info struct from r3, but also check r4 and r6 for initrd and kernel command line passing from the bootloader. Instead of adding this code to all different platform files, I would like to move this code to the common function "ibm44x_platform_init" (syslib/ibm44x_common.c) like it is done in the 40x ports "ppc4xx_init" (syslib/ppc4xx_setup.c). Any objections/remarks? Best regards, Stefan