]> git.sur5r.net Git - u-boot/blobdiff - board/ids8247/ids8247.c
board/[A-Za-i]*: Remove lingering references to CFG_CMD_* symbols.
[u-boot] / board / ids8247 / ids8247.c
index 081ef658e0d92322ec8d359e031b21cc1cba587e..19823a474ed09f1c831cefbd260fab9c6d1e70af 100644 (file)
@@ -25,6 +25,8 @@
 #include <ioports.h>
 #include <mpc8260.h>
 
+DECLARE_GLOBAL_DATA_PTR;
+
 /*
  * I/O Port configuration table
  *
@@ -295,12 +297,10 @@ long int initdram (int board_type)
 
 int misc_init_r (void)
 {
-       DECLARE_GLOBAL_DATA_PTR;
-
        gd->bd->bi_flashstart = 0xff800000;
 }
 
-#if (CONFIG_COMMANDS & CFG_CMD_NAND)
+#if defined(CONFIG_CMD_NAND)
 extern ulong
 nand_probe (ulong physadr);
 
@@ -315,4 +315,4 @@ nand_init (void)
        printf ("%4lu MB\n", totlen >>20);
 }
 
-#endif /* CFG_CMD_NAND */
+#endif