summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2021-04-06 08:36:49 -0400
committerTom Rini <[email protected]>2021-04-06 08:36:49 -0400
commitb74f45e2e5e6a9c9a8b9a1c6aadd31c28392c31f (patch)
tree6df2f20899d7df0309fbe2fd8c03ace9a7a72ecf /include
parent779786dac366ab83161843a248a5c639af10e540 (diff)
parent53879b17382fa4108c57128aefd9a04305607e0a (diff)
Merge https://source.denx.de/u-boot/custodians/u-boot-cfi-flash
- Fix detection of 8-bit bus flash devices via address shift
Diffstat (limited to 'include')
-rw-r--r--include/flash.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/flash.h b/include/flash.h
index 3bf6b22399e..42b18a60475 100644
--- a/include/flash.h
+++ b/include/flash.h
@@ -24,6 +24,8 @@ typedef struct {
#ifdef CONFIG_SYS_FLASH_CFI
uchar portwidth; /* the width of the port */
uchar chipwidth; /* the width of the chip */
+ uchar chip_lsb; /* extra Least Significant Bit in the */
+ /* address of chip */
ushort buffer_size; /* # of bytes in write buffer */
ulong erase_blk_tout; /* maximum block erase timeout */
ulong write_tout; /* maximum write timeout */