dm: at91: Add driver model support for the serial driver
authorSimon Glass <sjg@chromium.org>
Wed, 29 Oct 2014 19:09:00 +0000 (13:09 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 21 Nov 2014 07:09:58 +0000 (08:09 +0100)
commit0f65f48b6480ea18497675b30e5463dfd0c60cbe
tree6d844f49311785204d3abfe57e16c34467c8604c
parent62137fc0ab31f352c6e4e2444c2336d5c6a08887
dm: at91: Add driver model support for the serial driver

Add driver model support while retaining the existing legacy code. This
allows the driver to support boards that have converted to driver model
as well as those that have not.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/arm/include/asm/arch-at91/atmel_serial.h [new file with mode: 0644]
drivers/serial/atmel_usart.c