diff options
author | Hannes Petermaier <oe5hpm@oevsv.at> | 2014-06-04 10:26:29 +0200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-06-06 17:46:15 -0400 |
commit | ef1bd8f416d5e841df6abfb35e3d15f459343bbf (patch) | |
tree | 3f5b83e4ca5ad95d9fcf6217239947b795ca2596 /board | |
parent | 9a1063ebde6a8f44a74babd49f210d633fcef121 (diff) | |
download | u-boot-imx-ef1bd8f416d5e841df6abfb35e3d15f459343bbf.zip u-boot-imx-ef1bd8f416d5e841df6abfb35e3d15f459343bbf.tar.gz u-boot-imx-ef1bd8f416d5e841df6abfb35e3d15f459343bbf.tar.bz2 |
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')
-rw-r--r-- | board/BuR/tseries/board.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/BuR/tseries/board.c b/board/BuR/tseries/board.c index f0510e5..c0178e7 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; } |