sf: Add bank addr code in CONFIG_SPI_FLASH_BAR
authorJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Wed, 19 Jun 2013 10:03:58 +0000 (15:33 +0530)
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Sun, 23 Jun 2013 16:32:50 +0000 (22:02 +0530)
commit1dcd6d03811d4f30052a5e24377b378867211b05
tree2d8cac4b1b7bc109c9a039d10b71634f9ff02a53
parentfc207ee4db20ef6e769b0d08dab8b102748acb35
sf: Add bank addr code in CONFIG_SPI_FLASH_BAR

Defined bank addr code on CONFIG_SPI_FLASH_BAR macro, to reduce the
size for existing boards which has < 16Mbytes SPI flashes.

It's upto user which has provision to use the bank addr code for
flashes which has > 16Mbytes.

Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
README
drivers/mtd/spi/spi_flash.c
drivers/mtd/spi/spi_flash_internal.h
include/spi_flash.h