]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
Davinci: Table driven pinmux configuration
authorNick Thompson <nick.thompson@gefanuc.com>
Sat, 12 Dec 2009 17:10:51 +0000 (12:10 -0500)
committerTom Rix <Tom.Rix@windriver.com>
Mon, 4 Jan 2010 14:48:16 +0000 (08:48 -0600)
commit90110e0eab5ac6ab714109ce1fd8873c858dd552
tree18fa0a14b05b3cdb793459e64ef00f10d3d96131
parent1270ec13d4fbae48a537dc76d418a6efa72f5725
Davinci: Table driven pinmux configuration

Davinci: Table driven pinmux configuration

Add code to allow pinmux_config tables to be grouped and configured
as a single resource. This removes multiple calls to the pinmux
configuration code from board_init and allows pinmuxes to be
individually configured and added by data manipulation only.

All related #ifdefs can the be removed from board_init code and
since the compiler optimises away statics, #ifdefs can be reduced in
the data definitions as well.

Signed-off-by: Nick Thompson <nick.thompson@gefanuc.com>
board/davinci/common/misc.c
board/davinci/common/misc.h