]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
Revert "mtd: spi_flash: Warn user with 3 byte addressing limitations"
authorJagannadha Sutradharudu Teki <jagannadha.sutradharudu-teki@xilinx.com>
Mon, 11 Feb 2013 11:08:47 +0000 (16:38 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 12 Feb 2013 07:06:10 +0000 (08:06 +0100)
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 <jaganna@xilinx.com>
drivers/mtd/spi/spi_flash.c

index bf3eae6059a5e3b02554207597b2c5744b46ec37..44e2b611a86d93b6ca2f32888b98f316c38ad534 100644 (file)
@@ -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);