]> git.sur5r.net Git - u-boot/commit
mxc_serial replace platform specific clock
authorJohn Rigby <jcrigby@gmail.com>
Wed, 6 Jan 2010 05:34:10 +0000 (22:34 -0700)
committerWolfgang Denk <wd@denx.de>
Wed, 6 Jan 2010 16:17:05 +0000 (17:17 +0100)
commitdd0495eefefaa836949f05795b4ea924154d1b5e
tree6c873d5fad4acb3b38cff38b4a0ec2a066d81659
parent6ca9da4d42aeb43df5ef29f7d0518009df583b2f
mxc_serial replace platform specific clock

remove ifdef'd clock selection code from
serial_mxc.c and replace with call to imx_get_uartclk

Add definitions for imx_get_uartclk to imx31 and imx27
include files.

This makes it easier to add new imx platforms.

Signed-off-by: John Rigby <jcrigby@gmail.com>
drivers/serial/serial_mxc.c
include/asm-arm/arch-mx27/clock.h
include/asm-arm/arch-mx31/mx31.h