davinci: fix dm644x buglets
authorDavid Brownell <dbrownell@users.sourceforge.net>
Fri, 15 May 2009 21:44:09 +0000 (23:44 +0200)
committerWolfgang Denk <wd@denx.de>
Fri, 12 Jun 2009 18:39:48 +0000 (20:39 +0200)
commitbd36fdc146654f9de4e2ad346126e6bd2990fb19
tree97a6bf3fe3c4882062272c9cc3dd9d76933a5d54
parentf79043681ff44bae435c06f830e51e1546db7e19
davinci: fix dm644x buglets

Fix two buglets in the dm644x support:  don't set two must-be-zero
bits in the UART management register; and only include the I2C hooks
if the I2C driver is being included.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
cpu/arm926ejs/davinci/dm644x.c