ARM DaVinci: Add common peripherals and modules enable functions.
authorHugo Villeneuve <hugo.villeneuve@lyrtech.com>
Fri, 21 Nov 2008 19:35:56 +0000 (14:35 -0500)
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Sun, 22 Feb 2009 12:42:25 +0000 (13:42 +0100)
commit0cd18fa982f9a8c1a90ce971379a7d6408976d48
treecb6d1a39e0f8d2b4159970e0389e08b255925c5a
parentd3be1bcae7a8207e0a79ffd035d0e90f80378295
ARM DaVinci: Add common peripherals and modules enable functions.

Taken all the duplicated code for enabling common modules and apply
software workarounds from the board specific code into common
functions. Also added comments explaining the workarounds
(from TI errata documents) and replaced some numerical bit numbers
with more meaningful defines.

Signed-off-by: Hugo Villeneuve <hugo.villeneuve@lyrtech.com>
board/davinci/common/psc.c
board/davinci/common/psc.h
board/davinci/dvevm/dvevm.c
board/davinci/schmoogie/schmoogie.c
board/davinci/sffsdr/sffsdr.c
board/davinci/sonata/sonata.c