]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/isee/igep00x0/igep00x0.c
mtd: nand: omap: move omap_gpmc.h from arch/arm/include/asm to drivers/mtd/nand
[karo-tx-uboot.git] / board / isee / igep00x0 / igep00x0.c
index 77a9bc6c275896719dd2b5a70a40eeca32a8b24c..3b2b1f15b8e9647fe0fc72efee1e8f78fa11b588 100644 (file)
@@ -8,7 +8,6 @@
 #include <twl4030.h>
 #include <netdev.h>
 #include <asm/gpio.h>
-#include <asm/omap_gpmc.h>
 #include <asm/io.h>
 #include <asm/arch/mem.h>
 #include <asm/arch/mmc_host_def.h>
@@ -138,6 +137,18 @@ int board_mmc_init(bd_t *bis)
 }
 #endif
 
+void set_fdt(void)
+{
+       switch (gd->bd->bi_arch_number) {
+       case MACH_TYPE_IGEP0020:
+               setenv("dtbfile", "omap3-igep0020.dtb");
+               break;
+       case MACH_TYPE_IGEP0030:
+               setenv("dtbfile", "omap3-igep0030.dtb");
+               break;
+       }
+}
+
 /*
  * Routine: misc_init_r
  * Description: Configure board specific parts
@@ -150,6 +161,8 @@ int misc_init_r(void)
 
        dieid_num_r();
 
+       set_fdt();
+
        return 0;
 }