summaryrefslogtreecommitdiff
path: root/common/stdio.c
diff options
context:
space:
mode:
authorJagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>2015-04-27 21:04:15 +0530
committerJagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>2015-04-28 13:31:36 +0530
commitc650ca7b4c160193791dc7a52381c71c6a29e871 (patch)
treec6a76664fb5224df2a35bc6f2d74991fcd20c69f /common/stdio.c
parent074eed5146acc39a77f15ecdc8404b3ba74aa3ae (diff)
downloadu-boot-imx-c650ca7b4c160193791dc7a52381c71c6a29e871.zip
u-boot-imx-c650ca7b4c160193791dc7a52381c71c6a29e871.tar.gz
u-boot-imx-c650ca7b4c160193791dc7a52381c71c6a29e871.tar.bz2
sf: Fix to compute proper sector_size
Upto now flash sector_size is assigned from params which isn't necessarily a sector size from vendor, so based on the SECT_* flags from flash_params the erase_size will compute and it will become the sector_size finally. Bug report (from Bin Meng): => sf probe SF: Detected SST25VF016B with page size 256 Bytes, erase size 4 KiB, total 2 MiB, mapped at ffe00000 => sf erase 0 +100 SF: 65536 bytes @ 0x0 Erased: OK Signed-off-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com> Reported-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'common/stdio.c')
0 files changed, 0 insertions, 0 deletions