Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Unified Diff: board/tegra2/common/board.c

Issue 4139007: Tegra2: spi: move spi_init up to board_init so UART works OK when loading from SPI flash chip (Closed) Base URL: http://git.chromium.org/git/u-boot
Patch Set: Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: board/tegra2/common/board.c
diff --git a/board/tegra2/common/board.c b/board/tegra2/common/board.c
index 3269c34212bc97a4f1e8f2f0eaa310c764323b92..63040d10ff6561e722a57eaa1c9505e1fba179cb 100644
--- a/board/tegra2/common/board.c
+++ b/board/tegra2/common/board.c
@@ -126,7 +126,9 @@ int board_init(void)
/* board id for Linux */
gd->bd->bi_arch_number = LINUX_MACH_TYPE;
+ board_spi_init(); /* do this early so UART mux is OK */
board_usb_init();
+
return 0;
}
@@ -136,7 +138,6 @@ int board_init(void)
*/
int misc_init_r(void)
{
- board_spi_init();
return 0;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698