[PATCH 10/11] Add MPC8360EMDS board support

Li Yang-r58472 LeoLi at freescale.com
Thu Sep 28 16:38:02 EST 2006


> -----Original Message-----
> From: Jon Loeliger [mailto:jdl at jdl.com]
> Sent: Wednesday, September 27, 2006 10:14 PM
> To: Li Yang-r58472
> Cc: Vitaly Bordug; linuxppc-dev at ozlabs.org; Paul Mackerras
> Subject: Re: [PATCH 10/11] Add MPC8360EMDS board support
> 
> So, like, the other day "Li Yang-r58472" mumbled:
> 
> > Agreed.  As we are adding more devices to the device tree, we should
> > also have a guideline clearly stated for adding new nodes.
> >
> > I'm adding MURAM as a new node under QE bus.  Please comment.
> >                 muram at 10000 {
> >                         device_type = "memory";
> >                         ranges = <0 00010000 0000c000>;
> >
> >                         data-only at 0{
> >                                 reg = <0 c000>;
> >                         };
> >                 };
> >
> > - Leo
> 
> So, does it make sense for this node to participate in the early scan
> of memory available during the early_init_dt_scan_memory() pass?
> 

Are all "memory" type nodes regarded as system memory during the early
scan?  If so, it needs to use a new device_type "muram" I think.

> Out of curiosity, is "data-only" a standard thing, or did you make
> that up too?  What's it mean?

Well, it is from kernel code of cpm/cpm2 era.  It defines the MURAM area
which can be freely allocated.  The base and size of such area vary
between chips and revisions, even boards.

- Leo



More information about the Linuxppc-dev mailing list