
Stephen,
-----Original Message----- From: Stephen Warren Sent: Friday, October 14, 2011 8:04 AM To: Simon Glass; Tom Warren Cc: Anton Staaf; U-Boot Mailing List Subject: RE: [U-Boot] [RESEND PATCH v2] tegra2: Enable data cache
Simon Glass wrote at Thursday, October 13, 2011 6:18 PM:
On Thu, Oct 13, 2011 at 5:06 PM, Tom Warren TWarren@nvidia.com wrote:
Simon Glass wrote at Wednesday, October 12, 2011 2:13 PM:
...
Yes that's right since yesterday's merge of MMC into u-boot-arm (prior to that there was no working MMC!). Let's hold off applying this patch until you are done.
I have to disagree with the 'no working MMC' statement. When I submitted
my Tegra2 MMC driver in
May, it was working fine on Seaboard (hadn't tested yet on Harmony since
mine was dead). At that time,
DCACHE was off, so no concurrency issues nor hangs were seen. Wolfgang
merged it w/master in mid-July.
Just correcting for the record,
Yes I suspect you are right, it could just be my Seaboard - I have a different one from what I was using a few months ago. With this new one I see:
I think the issue is that MMC/SD work OK with Tom's patch "tegra2: Enable MMC for Seaboard", which isn't yet merged into mainline U-Boot. Without that, neither the MMC nor SD slot worked for me.
Not to quibble, but see commit 74fac70084bb040342fafc3b0d2ef50fbe35646f:
commit 74fac70084bb040342fafc3b0d2ef50fbe35646f Merge: 1bb5e90 8fd01b8 Author: Wolfgang Denk wd@denx.de Date: Tue Jul 19 22:27:07 2011 +0200
Merge branch 'master' of git://git.denx.de/u-boot-mmc
* 'master' of git://git.denx.de/u-boot-mmc: mmc: rescan fails on empty slot AT91:mmc:fix multiple read/write error mmc: Access mode validation for eMMC cards > 2 GiB mmc: sh_mmcif: add support for Renesas MMCIF mmc: fix the condition for MMC version 4 MMC: add marvell sdhci driver MMC: add sdhci generic framework MMC: add erase function to both mmc and sd MMC: unify mmc read and write operation -> mmc: Tegra2: Enable SD/MMC driver for Seaboard and Harmony -> mmc: Tegra2: SD/MMC driver for Seaboard - eMMC on SDMMC4, SDIO on SDMMC3
It would appear that Wolfgang merged my changes into the master branch on July 19th, unless I'm misreading this. Note that I don't see any commit by me labeled "tegra2: Enable MMC for Seaboard" - I'm assuming you meant this one.
For Harmony you'll need my patch "tegra2: Move board_mmc_init into board files", which is part of a series that's not yet merged.
-- nvpublic