Commit ef1bd8f416d5e841df6abfb35e3d15f459343bbf

Authored by Hannes Petermaier
Committed by Tom Rini
1 parent 9a1063ebde

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>

Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff

board/BuR/tseries/board.c
... ... @@ -117,7 +117,9 @@
117 117 int board_init(void)
118 118 {
119 119 gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100;
  120 +#ifdef CONFIG_NAND
120 121 gpmc_init();
  122 +#endif
121 123 return 0;
122 124 }
123 125