summaryrefslogtreecommitdiff
path: root/board/BuR
diff options
context:
space:
mode:
authorHannes Petermaier <oe5hpm@oevsv.at>2014-06-04 10:26:29 +0200
committerTom Rini <trini@ti.com>2014-06-06 17:46:15 -0400
commitef1bd8f416d5e841df6abfb35e3d15f459343bbf (patch)
tree3f5b83e4ca5ad95d9fcf6217239947b795ca2596 /board/BuR
parent9a1063ebde6a8f44a74babd49f210d633fcef121 (diff)
board/BuR/tseries: only run gpmc_init(...) in NAND-build
if we have no NAND-Chip, we don't need the gpmc-controller and therefore is no need to init it. Cc: trini@ti.com Signed-off-by: Hannes Petermaier <oe5hpm@oevsv.at>
Diffstat (limited to 'board/BuR')
-rw-r--r--board/BuR/tseries/board.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/BuR/tseries/board.c b/board/BuR/tseries/board.c
index f0510e599e9..c0178e75cfc 100644
--- a/board/BuR/tseries/board.c
+++ b/board/BuR/tseries/board.c
@@ -117,7 +117,9 @@ void sdram_init(void)
int board_init(void)
{
gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100;
+#ifdef CONFIG_NAND
gpmc_init();
+#endif
return 0;
}