summaryrefslogtreecommitdiff
path: root/common/update.c
diff options
context:
space:
mode:
authorJagannadha Sutradharudu Teki <jaganna@xilinx.com>2013-06-19 15:37:09 +0530
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>2013-06-23 22:02:50 +0530
commite612ddf5939ba257f2933c7539ee39a3f760e8ce (patch)
treeaa9a7fa125a05f0ded8ca452ff452b27531b2aef /common/update.c
parentcf6b11dcda2f13d1c05c2f20e2a1735a833a41fe (diff)
downloadu-boot-imx-e612ddf5939ba257f2933c7539ee39a3f760e8ce.zip
u-boot-imx-e612ddf5939ba257f2933c7539ee39a3f760e8ce.tar.gz
u-boot-imx-e612ddf5939ba257f2933c7539ee39a3f760e8ce.tar.bz2
sf: Read flash bank addr register at probe time
Read the flash bank addr register to get the state of bank in a perticular flash. and also bank write happens only when there is a change in bank selection from user. bank read only valid for flashes which has > 16Mbytes those are opearted in 3-byte addr mode, each bank occupies 16Mytes. Suppose if the flash has 64Mbytes size consists of 4 banks like bank0, bank1, bank2 and bank3. Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/update.c')
0 files changed, 0 insertions, 0 deletions