summaryrefslogtreecommitdiff
path: root/include/spi_flash.h
diff options
context:
space:
mode:
authorSuresh Gupta <suresh.gupta@nxp.com>2017-04-20 12:19:14 (GMT)
committerPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>2017-07-18 08:45:05 (GMT)
commitbf256a699070575d5c2282ddcdbb1515fab9f9a8 (patch)
tree0f082bc449bced0d08f097d643b2b8dbefc0f387 /include/spi_flash.h
parentcefc71f2fecfa43a4a7bb858aa9dd061f005b3ba (diff)
downloadu-boot-bf256a699070575d5c2282ddcdbb1515fab9f9a8.tar.xz
sf: add ADDR_4B for 4byte address support
Some new flash don't support bar register but use 4bytes address to support exceed 16MB flash size. So add flash flag: ADDR_4B for some flash which support 4bytes address. Signed-off-by: Yuan Yao <yao.yuan@nxp.com>
Diffstat (limited to 'include/spi_flash.h')
-rw-r--r--include/spi_flash.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/spi_flash.h b/include/spi_flash.h
index be2fe3f..3cd7d17 100644
--- a/include/spi_flash.h
+++ b/include/spi_flash.h
@@ -83,6 +83,7 @@ struct spi_flash {
u8 read_cmd;
u8 write_cmd;
u8 dummy_byte;
+ u8 cmd_len;
void *memory_map;