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

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

Issue 6623073: Chromium: arm: tegra: Add NAND support (Closed) Base URL: http://git.chromium.org/git/u-boot-next.git@chromeos-v2010.09
Patch Set: Created 9 years, 9 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
Index: board/tegra2/common/board.c
diff --git a/board/tegra2/common/board.c b/board/tegra2/common/board.c
index 2e52ba5fec08e7696aad14902461d58dbc84a335..a3458570d8eca21b439bac2138892d9a627e5bb1 100644
--- a/board/tegra2/common/board.c
+++ b/board/tegra2/common/board.c
@@ -172,10 +172,12 @@ void set_muxconf_regs(void)
/***************************************************************************
* Routines to be provided by corresponding device drivers.
***************************************************************************/
+#ifndef CONFIG_NAND_TEGRA2
Tom Warren 2011/03/08 20:43:08 This should be CONFIG_TEGRA2_NAND, just like _SPI,
int board_nand_init(struct nand_chip *nand)
{
return -1;
}
+#endif
/***************************************************************************
* Routines for UART initialization.

Powered by Google App Engine
This is Rietveld 408576698