[#4034] spi_mmc affects dataflash
Submitted By: Yi Li
2008-04-15 06:18:58 Close Date
Closed Fixed In Release:
Found In Release:
BF533 Silicon Revision:
Is this bug repeatable?:
Uboot version or rev.:
Toolchain version or rev.:
App binary format:
Summary: spi_mmc affects dataflash
please refer to:
This question hasn't get answered for sometime. So tracking here hoping it is not lost.
Hi All! I have bf533 custom board with mtd dataflash enable_dma=0 and spi_mmc driver with enable_dma=1 connected to the spi bus.
Attempt to mount mmc card results dataflash data corruption.
I'm looking into svn trunk drivers/spi/spi_bfin5xx.c:
static void cs_active(..)
u16 flag = read_FLAG(drv_data);
flag |= chip->flag;
flag &= ~(chip->flag << 8);
static void cs_deactive(..)
flag |= (chip->flag << 8);
When spi_mmc dma transfer is started CS of dataflash is also affected. Why chip->flag is OR'ed with FLAG?
works much better for me!
--- Bryan Wu 2008-05-20 23:22:10
I don't think this is a bug. So rejected it and also gave some comments in the
File Name File Type File Size Posted By
No Files Were Found