Re: MPC82xx ADS SCC ports initialisation
From: Scott Wood <hidden>
Date: 2007-07-10 18:11:41
On Tue, Jul 10, 2007 at 04:19:51PM +0200, Laurent Pinchart wrote:
clrbits32(&immap->im_cpmux.cmx_scr, (0x00000007 << (4 - data->clk_tx)));
clrbits32(&immap->im_cpmux.cmx_scr, (0x00000038 << (4 - data->clk_rx)));
setbits32(&immap->im_cpmux.cmx_scr,
((data->clk_tx - 1) << (4 - data->clk_tx)));
setbits32(&immap->im_cpmux.cmx_scr,
((data->clk_rx - 1) << (4 - data->clk_rx)));
The shift right-hand operand doesn't seem to be correct. Could anyone confirm
this ?You are correct; it's broken.
If my assumption is right, could anyone tell me if the MPC82xx processors are actually supported by the powerpc architecture, or if the MPC82xx ADS code is just a non-functional work in progress.
I have a bunch of 8xx/82xx changes pending; I hope to get them cleaned up before the merge window ends.
I also noticed that U-Boot doesn't have flatten device tree support for the MPC82xx family.
No, but cuImage for 82xx is on its way. -Scott