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@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox