]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/mtd/spi/ramtron.c
sf: Tidy up public and private header files
[karo-tx-uboot.git] / drivers / mtd / spi / ramtron.c
index c9701d05b34c353ea55b1fedefc4ca25872e632d..a23032cca58df0fdc2f304ce8aabaef253bd54fd 100644 (file)
@@ -35,8 +35,9 @@
 
 #include <common.h>
 #include <malloc.h>
+#include <spi.h>
 #include <spi_flash.h>
-#include "spi_flash_internal.h"
+#include "sf_internal.h"
 
 /*
  * Properties of supported FRAMs
@@ -380,11 +381,8 @@ struct spi_flash *spi_flash_probe(unsigned int bus, unsigned int cs,
                goto err_manufacturer_probe;
        }
 
-       printf("SF: Detected %s with page size ", flash->name);
-       print_size(flash->sector_size, ", total ");
+       printf("SF: Detected %s with total size ", flash->name);
        print_size(flash->size, "");
-       if (flash->memory_map)
-               printf(", mapped at %p", flash->memory_map);
        puts("\n");
 
        spi_release_bus(spi);