RE: [PATCH] [POWERPC] Xilinx: Boot: Fix 16550 UART initialization

2008-03-17 Thread Stephen Neuendorffer
Sorry, guess I missed it... Steve > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Grant Likely > Sent: Monday, March 17, 2008 1:25 PM > To: Stephen Neuendorffer > Cc: John Linn; linuxppc-dev@ozlabs.org > Subject: Re: [PATCH] [POW

Re: [PATCH] [POWERPC] Xilinx: Boot: Fix 16550 UART initialization

2008-03-17 Thread Grant Likely
On Mon, Mar 17, 2008 at 2:17 PM, Stephen Neuendorffer <[EMAIL PROTECTED]> wrote: > Grant, > > If you have working platform code using libfdt, can you publish it? Yes, I've actually already published it once. I'll post v2 this afternoon. g. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technolog

RE: [PATCH] [POWERPC] Xilinx: Boot: Fix 16550 UART initialization

2008-03-17 Thread Stephen Neuendorffer
ppc-dev@ozlabs.org > Subject: Re: [PATCH] [POWERPC] Xilinx: Boot: Fix 16550 UART initialization > > On Mon, Mar 17, 2008 at 1:57 PM, John Linn <[EMAIL PROTECTED]> wrote: > > That makes sense. Since I'm not using a boot loader I didn't realize > > that. > > &

Re: [PATCH] [POWERPC] Xilinx: Boot: Fix 16550 UART initialization

2008-03-17 Thread Grant Likely
On Mon, Mar 17, 2008 at 2:10 PM, John Linn <[EMAIL PROTECTED]> wrote: > Great, I'll do that. > > Does this also apply to my other patch, Adding 8250 console support to > OF serial, as it's not clear to me when to assume the UART is already > setup or not? I haven't reviewed that one yet. I'll

RE: [PATCH] [POWERPC] Xilinx: Boot: Fix 16550 UART initialization

2008-03-17 Thread John Linn
ant Likely Sent: Monday, March 17, 2008 2:08 PM To: John Linn Cc: linuxppc-dev@ozlabs.org; [EMAIL PROTECTED] Subject: Re: [PATCH] [POWERPC] Xilinx: Boot: Fix 16550 UART initialization On Mon, Mar 17, 2008 at 1:57 PM, John Linn <[EMAIL PROTECTED]> wrote: > That makes sense. Since I'm n

Re: [PATCH] [POWERPC] Xilinx: Boot: Fix 16550 UART initialization

2008-03-17 Thread Grant Likely
On Mon, Mar 17, 2008 at 1:57 PM, John Linn <[EMAIL PROTECTED]> wrote: > That makes sense. Since I'm not using a boot loader I didn't realize > that. > > I'm not sure how hard it will be to get the data from the device tree at > that time. You should be good. It is now possible to read data fr

RE: [PATCH] [POWERPC] Xilinx: Boot: Fix 16550 UART initialization

2008-03-17 Thread John Linn
labs.org; [EMAIL PROTECTED] Subject: Re: [PATCH] [POWERPC] Xilinx: Boot: Fix 16550 UART initialization On Mon, Mar 17, 2008 at 10:41 AM, John Linn <[EMAIL PROTECTED]> wrote: > The UART 16550 initialization was not setting up the registers > correctly. Code was added to pull the

Re: [PATCH] [POWERPC] Xilinx: Boot: Fix 16550 UART initialization

2008-03-17 Thread Grant Likely
On Mon, Mar 17, 2008 at 10:41 AM, John Linn <[EMAIL PROTECTED]> wrote: > The UART 16550 initialization was not setting up the registers > correctly. Code was added to pull the frequency and speed from > the device tree and initialize the registers using those values. > > The boot code was not an

[PATCH] [POWERPC] Xilinx: Boot: Fix 16550 UART initialization

2008-03-17 Thread John Linn
The UART 16550 initialization was not setting up the registers correctly. Code was added to pull the frequency and speed from the device tree and initialize the registers using those values. The boot code was not and is still not using the cmd line to setup up the uart. The frequency of the clock