Re: MMC block addressing mode.

2017-04-21 Thread Ulf Hansson
On 20 April 2017 at 23:28, Steven J. Hill wrote: > On 04/20/2017 04:24 PM, Steven J. Hill wrote: >> On 04/20/2017 12:12 PM, David Daney wrote: >>> >>> Steven and Jan: Can we get around this requirement by: >>> >>> - Always set MIO_EMM_DMA[MULTI] = 1; This way by SECTOR mode may be >>> unimporta

Re: MMC block addressing mode.

2017-04-20 Thread Steven J. Hill
On 04/20/2017 04:24 PM, Steven J. Hill wrote: > On 04/20/2017 12:12 PM, David Daney wrote: >> >> Steven and Jan: Can we get around this requirement by: >> >> - Always set MIO_EMM_DMA[MULTI] = 1; This way by SECTOR mode may be >> unimportant. >> >> - Always set MIO_EMM_DMA[SECTOR] = SUITABLE_CONS

Re: MMC block addressing mode.

2017-04-20 Thread Steven J. Hill
On 04/20/2017 12:12 PM, David Daney wrote: > > Steven and Jan: Can we get around this requirement by: > > - Always set MIO_EMM_DMA[MULTI] = 1; This way by SECTOR mode may be > unimportant. > > - Always set MIO_EMM_DMA[SECTOR] = SUITABLE_CONSTANT. > No, this does not work. The 1.88GB card plu

Re: MMC block addressing mode.

2017-04-20 Thread David Daney
On 04/20/2017 09:17 AM, Steven J. Hill wrote: On 04/20/2017 09:18 AM, Ulf Hansson wrote: The Cavium hardware requires knowledge of the card addressing mode. We need to either restore mmc_card_blockaddr(), or create another way to generate the same information. You previously suggested use of th

Re: MMC block addressing mode.

2017-04-20 Thread Steven J. Hill
On 04/20/2017 09:18 AM, Ulf Hansson wrote: >> >> The Cavium hardware requires knowledge of the card addressing mode. >> We need to either restore mmc_card_blockaddr(), or create another >> way to generate the same information. You previously suggested use >> of the 'blksz' value, however, it has th

Re: MMC block addressing mode.

2017-04-20 Thread Ulf Hansson
On 13 April 2017 at 21:49, Steven J. Hill wrote: > Uffe, > > The Cavium hardware requires knowledge of the card addressing mode. > We need to either restore mmc_card_blockaddr(), or create another > way to generate the same information. You previously suggested use > of the 'blksz' value, however,

MMC block addressing mode.

2017-04-13 Thread Steven J. Hill
Uffe, The Cavium hardware requires knowledge of the card addressing mode. We need to either restore mmc_card_blockaddr(), or create another way to generate the same information. You previously suggested use of the 'blksz' value, however, it has the same value regardless of the card capacity. What