mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Gaurav Singh <gausinghnsit@gmail.com>
Cc: barebox@lists.infradead.org
Subject: Re: Amba PL011 driver support
Date: Fri, 16 Jul 2010 17:09:57 +0200	[thread overview]
Message-ID: <20100716150957.GK14113@pengutronix.de> (raw)
In-Reply-To: <AANLkTik2E-amNP6qE1RSImyOuPBzH_o6Sbg_WPGc9SLt@mail.gmail.com>

Hi Gaurav,

On Fri, Jul 16, 2010 at 06:59:09PM +0530, Gaurav Singh wrote:
> Hi all,
> Currently I am working to port Barebox on an ARM11v6 based board. I
> have a PL011 UART peripheral on my board and want to use this UART as
> my console. I read somewhere that the PL010 serial driver would
> support PL011 as well but I was unable to use this driver to bring up
> the console.
> Looking  at the device specifications I noticed that some changes to
> the PL010 driver would suffce for my requirement and making these
> changes I was able to initialize the console and use my UART for
> entering bb commands.
> 
> Is there a requirement for a seperate PL011 driver in barebox at the
> moment ? I notice that both U-boot and the kernel have seperate
> drivers for PL010 and PL011.

No, there is no requirement for this. I don't know the differences
between the PL011 and the PL010, but if you manage to handle both in one
driver, maybe with a flag in platform_data specifying which type it is,
that's perfectly fine.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      reply	other threads:[~2010-07-16 15:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-16 13:29 Gaurav Singh
2010-07-16 15:09 ` Sascha Hauer [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=20100716150957.GK14113@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=gausinghnsit@gmail.com \
    /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