From: Scott Wood <scottwood@freescale.com>
To: Laurent Pinchart <laurentp@cse-semaphore.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: Trouble with SCC UART ports when moving from ppc to powerpc
Date: Thu, 20 Mar 2008 11:24:40 -0500 [thread overview]
Message-ID: <20080320162440.GA3237@loki.buserror.net> (raw)
In-Reply-To: <200803201618.37051.laurentp@cse-semaphore.com>
On Thu, Mar 20, 2008 at 04:18:26PM +0100, Laurent Pinchart wrote:
> I don't want to kill it either. What I meant is that my first patch will not
> care about udbg so that I can get feedback about the CPM serial driver part.
> I'll then see how to make udbg fit into that.
OK.
> > Perhaps we should stick more initialization into the cpm udbg code, so it
> > isn't so dependent on the bootloader setup... though we'd have push the
> > CPM reset and SMC allocation earlier in such a case.
>
> When SMC1 is used as a serial console, SMC1 is the first CPM dpram
> allocation user.
Typically yes, but I wouldn't want to depend on that...
> This means the CPM dpram allocator will allocate a buffer at the beginning
> of the dpram. As he SMC controller will already be using the 64 first
> bytes of the dpram, it will not see any difference when being
> reinitialized.
Not always. Planetcore, for example, puts SMC parameter RAM at 0x1100
rather than zero.
> This of course depends on the boot loader allocating parameter ram at the
> beginning of the dpram for SMC1, but we already depend on that if I'm not
> mistaken.
We don't depend on it -- it's specified in the smc node's reg property, and
in the absence of said regions in the muram node.
-Scott
prev parent reply other threads:[~2008-03-20 16:24 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-07 14:20 Trouble with SCC UART ports when moving from ppc to powerpc Laurent Pinchart
2008-03-07 15:00 ` Timur Tabi
2008-03-07 16:21 ` Scott Wood
2008-03-10 12:17 ` Laurent Pinchart
2008-03-17 15:33 ` Scott Wood
2008-03-20 13:39 ` Laurent Pinchart
2008-03-20 15:08 ` Scott Wood
2008-03-20 15:18 ` Laurent Pinchart
2008-03-20 16:24 ` Scott Wood [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080320162440.GA3237@loki.buserror.net \
--to=scottwood@freescale.com \
--cc=laurentp@cse-semaphore.com \
--cc=linuxppc-dev@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).