]> git.sur5r.net Git - u-boot/blobdiff - board/BuR/tseries/board.c
board/BuR/tseries: only run gpmc_init(...) in NAND-build
[u-boot] / board / BuR / tseries / board.c
index f0510e599e9b0f046f04a3d882bd4c38e43cf6ba..c0178e75cfcb2796e71158e1f4b95d93279b45da 100644 (file)
@@ -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;
 }