]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
sf: Discover the bank addr commands
authorJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Wed, 19 Jun 2013 10:01:23 +0000 (15:31 +0530)
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Sun, 23 Jun 2013 16:32:49 +0000 (22:02 +0530)
commitcf6b11dcda2f13d1c05c2f20e2a1735a833a41fe
tree8ce3b5596e77ff5e66ead1bbd175398b07bd146a
parentc9fcb59d7db74b93df9ee0a830bb9f43888f195c
sf: Discover the bank addr commands

Bank/Extended addr commands are specific to particular
flash vendor so discover them based on the idocode0.

Assign the discovered bank commands to spi_flash members
so-that the bank read/write will use their specific operations.

Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
drivers/mtd/spi/spi_flash.c
drivers/mtd/spi/spi_flash_internal.h
include/spi_flash.h