projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9275929
)
sf: Rename bank_end to bar_end in read_bar
author
Jagan Teki
<jteki@openedev.com>
Sun, 13 Dec 2015 17:40:33 +0000
(23:10 +0530)
committer
Jagan Teki
<jteki@openedev.com>
Wed, 13 Jan 2016 13:17:26 +0000
(18:47 +0530)
bar_end gives more meaningfull compared to bank_end and
spi_flash_write_bar uses bar_end so replaced bank_end with
bar_end in spi_flash_read_bar
Signed-off-by: Jagan Teki <jteki@openedev.com>
drivers/mtd/spi/spi_flash.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/spi/spi_flash.c
b/drivers/mtd/spi/spi_flash.c
index 8601a436dc573b5781187918c330c0a05d76b8e1..e4b8ce97be7a03ede1c36490804cd4683d2febc2 100644
(file)
--- a/
drivers/mtd/spi/spi_flash.c
+++ b/
drivers/mtd/spi/spi_flash.c
@@
-139,7
+139,7
@@
static int spi_flash_read_bar(struct spi_flash *flash, u8 idcode0)
int ret;
if (flash->size <= SPI_FLASH_16MB_BOUN)
- goto ba
nk
_end;
+ goto ba
r
_end;
switch (idcode0) {
case SPI_FLASH_CFI_MFR_SPANSION:
@@
-158,7
+158,7
@@
static int spi_flash_read_bar(struct spi_flash *flash, u8 idcode0)
return ret;
}
-ba
nk
_end:
+ba
r
_end:
flash->bank_curr = curr_bank;
return 0;
}