浏览代码

sf: ramtron: Remove page_size print

There is no page_size for ramtron flashes,
so just print the detected flash and it's size.

Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
Jagannadha Sutradharudu Teki 11 年之前
父节点
当前提交
adbb5860e5
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      drivers/mtd/spi/ramtron.c

+ 1 - 2
drivers/mtd/spi/ramtron.c

@@ -380,8 +380,7 @@ 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, "");
 	puts("\n");