From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XbVf2-0008HS-6M for barebox@lists.infradead.org; Tue, 07 Oct 2014 14:22:44 +0000 Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1XbVee-0003OK-QO for barebox@lists.infradead.org; Tue, 07 Oct 2014 16:22:20 +0200 Received: from jbe by dude.hi.pengutronix.de with local (Exim 4.84) (envelope-from ) id 1XbVee-0004Cd-P6 for barebox@lists.infradead.org; Tue, 07 Oct 2014 16:22:20 +0200 From: Juergen Borleis Date: Tue, 7 Oct 2014 16:21:59 +0200 Message-Id: <1412691738-11145-1-git-send-email-jbe@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [RFC] Add PowerPC MPC5125 support To: barebox@lists.infradead.org This is a try to add the MPC5125 SoC to Barebox. This kind of SoC shares some embedded devices with the MPC5200 and the MPC5121/MPC5123 (at least it uses the same names for them) but differs in many annoying details. So this adaption can only be used on a MPC5125 and is completely untested on MPC5121 and MPC5123. Patch "arch/MPC5xxx: fix linker script for MPC5200" tries to repair the linker script for the MPC5200 because the resulting binary image is broken without this change. But I do not really know why it is broken and how to repair it correctly. Comments? At least the existing PSC code for the serial UART can be shared between both SoCs, even if their internals differ. With some re-factoring it is possible to use the main code on both SoCs. The same might be possible with the FEC driver, but needs more effort, because the DMA work differently on both SoCs. I'm not sure if its worth the effort, so I just add a new FEC driver for the MPC5125 with this series. Comments are welcome. Juergen _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox