From 16e3e681e488cf35a38f81dbf43deee8af15e459 Mon Sep 17 00:00:00 2001 From: Jagannadha Sutradharudu Teki Date: Mon, 11 Feb 2013 16:38:47 +0530 Subject: [PATCH] Revert "mtd: spi_flash: Warn user with 3 byte addressing limitations" This reverts commit eef1451bb3cb039f62b018a5daf9cdbc4ef56f22. Now the current implementation in spi_flash.c is able to access the flash from greater than 16MiB in 3-byte addressing. This should be the part of this patch: "sf: Add bank address access support" (sha1: 5b00fc8b7fbf422bdc18de2bfa414db38026094f) Signed-off-by: Jagannadha Sutradharudu Teki --- drivers/mtd/spi/spi_flash.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/mtd/spi/spi_flash.c b/drivers/mtd/spi/spi_flash.c index bf3eae6059a..44e2b611a86 100644 --- a/drivers/mtd/spi/spi_flash.c +++ b/drivers/mtd/spi/spi_flash.c @@ -520,10 +520,6 @@ struct spi_flash *spi_flash_probe(unsigned int bus, unsigned int cs, printf("SF: Detected %s with page size ", flash->name); print_size(flash->sector_size, ", total "); print_size(flash->size, "\n"); - if ((flash->addr_width == 3) && (flash->size > 0x1000000)) { - puts("SF: Warning - Only lower 16MB is accessible"); - puts(" in 3 byte addressing mode\n"); - } spi_release_bus(spi); -- 2.47.3