mtd: rename CONFIG_NAND -> CONFIG_MTD_RAW_NAND
[platform/kernel/u-boot.git] / board / ti / ti816x / evm.c
index 240df8c..3896ebb 100644 (file)
@@ -7,7 +7,7 @@
  */
 
 #include <common.h>
-#include <environment.h>
+#include <env.h>
 #include <spl.h>
 #include <asm/cache.h>
 #include <asm/io.h>
@@ -25,7 +25,7 @@ DECLARE_GLOBAL_DATA_PTR;
 int board_init(void)
 {
        gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100;
-#if defined(CONFIG_NAND)
+#if defined(CONFIG_MTD_RAW_NAND)
        gpmc_init();
 #endif
        return 0;