]> git.sur5r.net Git - u-boot/blobdiff - board/stxxtc/stxxtc.c
smdk6400: Use CONFIG_FLASH_CFI_DRIVER
[u-boot] / board / stxxtc / stxxtc.c
index 7caf06a0862d5af851b570464b6a8d3b5fc0b131..a7503743934dd3ae3fd479066f7ec1c889717b5b 100644 (file)
@@ -399,7 +399,7 @@ void check_ram(unsigned int addr, unsigned int size)
 
 #define DO_LOOP do { for (;;) asm volatile ("nop" : : : "memory"); } while(0)
 
-long int initdram(int board_type)
+phys_size_t initdram(int board_type)
 {
        volatile immap_t *immap = (immap_t *) CFG_IMMR;
        volatile memctl8xx_t *memctl = &immap->im_memctl;
@@ -574,7 +574,7 @@ int board_early_init_f(void)
        return 0;
 }
 
-#if (CONFIG_COMMANDS & CFG_CMD_NAND)
+#if defined(CONFIG_CMD_NAND)
 
 #include <linux/mtd/nand_legacy.h>