]> git.dujemihanovic.xyz Git - u-boot.git/commit
tegra2: Clean up board code a little
authorSimon Glass <sjg@chromium.org>
Wed, 21 Sep 2011 12:40:03 +0000 (12:40 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 27 Oct 2011 19:56:29 +0000 (21:56 +0200)
commit3e00dbdf24250548bdf702a79713befae5640723
treec0dd7c0840de9ff70199e4f234e2c681a8f437fd
parent03c609f69b12dca47b9422595fdde29be1fb35c9
tegra2: Clean up board code a little

This removes clock_init() and pinmux_init() which are names better suited
to those respective modules. By moving board_init_f() to the bottom of the
file we can remove the need for so many functions in the board.h header file.

The only clock/pinmux/gpio init we need to do prior to relocation is
for the UART.

Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Tom Warren <twarren@nvidia.com>
board/nvidia/common/board.c
board/nvidia/common/board.h