]> git.ipfire.org Git - thirdparty/u-boot.git/commit
sandbox: Fixed spi-flash sandbox compilation warnings
authorVipul Kumar <vipul.kumar@xilinx.com>
Thu, 8 Feb 2018 11:06:16 +0000 (16:36 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 8 Feb 2018 12:43:36 +0000 (13:43 +0100)
commit2a7cc730e3ea782a9ed5180b621e7e332f43bd8b
tree12297e869e372817dedc607448c3348bcc86437b
parentf7748b9b67e7c869f11f15bc7a087c0cd26bc74c
sandbox: Fixed spi-flash sandbox compilation warnings

This patch fixed spi-flash sandbox compilation warnings.
There is a variable bank_addr which was set but unused.
Defined this variable on the basis of configs and used
according to that configs.

Signed-off-by: Vipul Kumar <vipulk@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/mtd/spi/spi_flash.c