Author: wmb Date: Mon Sep 27 22:01:41 2010 New Revision: 1962 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/1962
Log: OLPC Trac 10374 - fixed "off by 1" bug in the SD card size calculation for the CSD Version 2.0 case. This problem was causing spurious warnings about the OS size exceeding the card size.
Modified: dev/mmc/sdhci/sdhci.fth
Modified: dev/mmc/sdhci/sdhci.fth ============================================================================== --- dev/mmc/sdhci/sdhci.fth Tue Sep 21 02:53:40 2010 (r1961) +++ dev/mmc/sdhci/sdhci.fth Mon Sep 27 22:01:41 2010 (r1962) @@ -1044,7 +1044,7 @@ um* endof 1 of - d# 70 d# 48 csdbits d# 10 lshift h# 200 um* + d# 70 d# 48 csdbits 1+ d# 10 lshift h# 200 um* endof ( default ) ." SD: Warning - invalid CSD; using default device size." cr
openfirmware@openfirmware.info