Tegra2: spi: move spi_init up to board_init so UART works OK when loading from SPI flash chip
Signed-off-by: Tom Warren <twarren@nvidia.com>

Only when a BCT/U-Boot.bin image is flashed to SPI and booted, the console
output was corrupted. This was because the spi_init() proc wasn't running
early enough in POST, and the GPIO UART_DISABLE wasn't being gated.

BUG=none
TEST=Create flashable image w/buildimage, write it to SPI, and reset/restart.
No console corruption seen via serial.

Review URL: http://codereview.chromium.org/4139007
Patch from Tom Warren <twarren@nvidia.com>.

Change-Id: If4e50125abd289bd81c022eec1cb67aa158c08d5
1 file changed