mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Amba PL011 driver support
@ 2010-07-16 13:29 Gaurav Singh
  2010-07-16 15:09 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Gaurav Singh @ 2010-07-16 13:29 UTC (permalink / raw)
  To: barebox

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.

Thanks and Regards
Gaurav Singh

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Amba PL011 driver support
  2010-07-16 13:29 Amba PL011 driver support Gaurav Singh
@ 2010-07-16 15:09 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2010-07-16 15:09 UTC (permalink / raw)
  To: Gaurav Singh; +Cc: barebox

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-07-16 15:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-16 13:29 Amba PL011 driver support Gaurav Singh
2010-07-16 15:09 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox