<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/include/mmc.h, branch v2012.10</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<entry>
<title>mmc: detect boot sectors using EXT_CSD_BOOT_MULT too</title>
<updated>2012-09-05T22:32:41+00:00</updated>
<author>
<name>Stephen Warren</name>
<email>swarren@nvidia.com</email>
</author>
<published>2012-07-30T10:55:43+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8948ea830275afaa7c91fe7e13dd3c4b894a453f'/>
<id>8948ea830275afaa7c91fe7e13dd3c4b894a453f</id>
<content type='text'>
Some eMMC devices contain boot partitions, but do not set the PART_SUPPORT
bit in EXT_CSD_PARTITIONING_SUPPORT. Allow partition selection on such
devices, by enabling partition switching when EXT_CSD_BOOT_MULT is set.

Note that the Linux kernel enables access to boot partitions solely based
on the value of EXT_CSD_BOOT_MULT; EXT_CSD_PARTITIONING_SUPPORT only
influences access to "general" partitions.

eMMC devices affected by this issue exist on various NVIDIA Tegra
platforms (and presumably many others too), such as Harmony (plug-in eMMC),
Seaboard, Springbank, and Whistler (plug-in eMMC).

Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Signed-off-by: Andy Fleming &lt;afleming@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some eMMC devices contain boot partitions, but do not set the PART_SUPPORT
bit in EXT_CSD_PARTITIONING_SUPPORT. Allow partition selection on such
devices, by enabling partition switching when EXT_CSD_BOOT_MULT is set.

Note that the Linux kernel enables access to boot partitions solely based
on the value of EXT_CSD_BOOT_MULT; EXT_CSD_PARTITIONING_SUPPORT only
influences access to "general" partitions.

eMMC devices affected by this issue exist on various NVIDIA Tegra
platforms (and presumably many others too), such as Harmony (plug-in eMMC),
Seaboard, Springbank, and Whistler (plug-in eMMC).

Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Signed-off-by: Andy Fleming &lt;afleming@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mmc: Remove unused item flags in struct mmc_cmd</title>
<updated>2012-09-02T14:56:17+00:00</updated>
<author>
<name>Kaspter Ju</name>
<email>nigh0st3018@gmail.com</email>
</author>
<published>2012-05-31T04:27:50+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=67cbbf25c5b161bfb76958cd6c4c38aa72161029'/>
<id>67cbbf25c5b161bfb76958cd6c4c38aa72161029</id>
<content type='text'>
Signed-off-by: Kaspter Ju &lt;nigh0st3018@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Kaspter Ju &lt;nigh0st3018@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>da850/omap-l138: Add support to read u-boot image from MMC/SD</title>
<updated>2012-09-01T12:58:09+00:00</updated>
<author>
<name>Lad, Prabhakar</name>
<email>prabhakar.lad@ti.com</email>
</author>
<published>2012-06-24T21:35:20+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0d986e61e26280c93b7e261c98b1f606bb9ddc5a'/>
<id>0d986e61e26280c93b7e261c98b1f606bb9ddc5a</id>
<content type='text'>
DA850/OMAP-L138 does not support strict MMC/SD boot mode. SPL will
be in SPI flash and U-Boot image will be in MMC/SD card. SPL will
do the low level initialization and then loads the u-boot image
from MMC/SD card.

Define CONFIG_SPL_MMC_LOAD macro in the DA850/OMAP-L138
configuration file to enable this feature.

Tested-by: Christian Riesch &lt;christian.riesch@omicron.at&gt;
Signed-off-by: Lad, Prabhakar &lt;prabhakar.lad@ti.com&gt;
Signed-off-by: Rajashekhara, Sudhakar &lt;sudhakar.raj@ti.com&gt;
Signed-off-by: Hadli, Manjunath &lt;manjunath.hadli@ti.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
DA850/OMAP-L138 does not support strict MMC/SD boot mode. SPL will
be in SPI flash and U-Boot image will be in MMC/SD card. SPL will
do the low level initialization and then loads the u-boot image
from MMC/SD card.

Define CONFIG_SPL_MMC_LOAD macro in the DA850/OMAP-L138
configuration file to enable this feature.

Tested-by: Christian Riesch &lt;christian.riesch@omicron.at&gt;
Signed-off-by: Lad, Prabhakar &lt;prabhakar.lad@ti.com&gt;
Signed-off-by: Rajashekhara, Sudhakar &lt;sudhakar.raj@ti.com&gt;
Signed-off-by: Hadli, Manjunath &lt;manjunath.hadli@ti.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>include/mmc.h: remove struct mmc_csd</title>
<updated>2012-05-08T23:02:22+00:00</updated>
<author>
<name>Andreas Bießmann</name>
<email>biessmann@corscience.de</email>
</author>
<published>2012-03-19T23:13:18+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ffdea5dab902b522f8744234184ffa11a4e275c2'/>
<id>ffdea5dab902b522f8744234184ffa11a4e275c2</id>
<content type='text'>
The outdated struct mmc_csd was only used by old atmel_mci driver which was
removed in c9abb4260c30fbfd51bb2cd551e7426e2ae15b66.

Signed-off-by: Andreas Bießmann &lt;biessmann@corscience.de&gt;
cc: Andy Fleming &lt;afleming@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The outdated struct mmc_csd was only used by old atmel_mci driver which was
removed in c9abb4260c30fbfd51bb2cd551e7426e2ae15b66.

Signed-off-by: Andreas Bießmann &lt;biessmann@corscience.de&gt;
cc: Andy Fleming &lt;afleming@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mmc:fix: Set mmc width according to MMC host capabilities</title>
<updated>2012-05-08T23:02:21+00:00</updated>
<author>
<name>Łukasz Majewski</name>
<email>l.majewski@samsung.com</email>
</author>
<published>2012-03-12T22:07:18+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=62722036410b7887a04cf6705effb3122fb9b549'/>
<id>62722036410b7887a04cf6705effb3122fb9b549</id>
<content type='text'>
This patch sets the MMC width according to the MMC host capabilities.
It turned out, that there are some targets (e.g. GONI), which are able
to read data from SPI only at 4 bit mode.
This patch restricts the width number according to the MMC host.

Signed-off-by: Lukasz Majewski &lt;l.majewski@samsung.com&gt;
Signed-off-by: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
Cc: Andy Fleming &lt;afleming@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch sets the MMC width according to the MMC host capabilities.
It turned out, that there are some targets (e.g. GONI), which are able
to read data from SPI only at 4 bit mode.
This patch restricts the width number according to the MMC host.

Signed-off-by: Lukasz Majewski &lt;l.majewski@samsung.com&gt;
Signed-off-by: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
Cc: Andy Fleming &lt;afleming@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ATMEL: use generic mmc framework</title>
<updated>2012-03-13T11:06:41+00:00</updated>
<author>
<name>Sven Schnelle</name>
<email>svens@stackframe.org</email>
</author>
<published>2011-10-21T12:49:25+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=72fa467988e7944407a634ddc4bc6a2df685c04c'/>
<id>72fa467988e7944407a634ddc4bc6a2df685c04c</id>
<content type='text'>
gen_atmel_mci works on AVR32 as well, so no need to use the legacy
mmc driver. This also has the nice side effect of being able to use
SDHC cards an those boards.

Signed-off-by: Sven Schnelle &lt;svens@stackframe.org&gt;
Signed-off-by: Andreas Bießmann &lt;andreas.devel@googlemail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
gen_atmel_mci works on AVR32 as well, so no need to use the legacy
mmc driver. This also has the nice side effect of being able to use
SDHC cards an those boards.

Signed-off-by: Sven Schnelle &lt;svens@stackframe.org&gt;
Signed-off-by: Andreas Bießmann &lt;andreas.devel@googlemail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mmc: make mmc_send_status() more reliable</title>
<updated>2012-02-15T23:42:22+00:00</updated>
<author>
<name>Jan Kloetzke</name>
<email>jan.kloetzke@dspg.com</email>
</author>
<published>2012-02-05T22:29:12+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d617c426a6ef8d731da1936bca7649a1574d5420'/>
<id>d617c426a6ef8d731da1936bca7649a1574d5420</id>
<content type='text'>
Align the card status polling with the Linux kernel and retry the
command at least five times. Also some cards apparently mishandle the
status bits, so make sure to check the card state too.

Signed-off-by: Jan Kloetzke &lt;jan.kloetzke@dspg.com&gt;
Cc: Andy Fleming &lt;afleming@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Align the card status polling with the Linux kernel and retry the
command at least five times. Also some cards apparently mishandle the
status bits, so make sure to check the card state too.

Signed-off-by: Jan Kloetzke &lt;jan.kloetzke@dspg.com&gt;
Cc: Andy Fleming &lt;afleming@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mmc: Implement card detection.</title>
<updated>2012-01-09T03:28:27+00:00</updated>
<author>
<name>Thierry Reding</name>
<email>thierry.reding@avionic-design.de</email>
</author>
<published>2012-01-02T01:15:37+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=48972d907a28de17c2a5108a3ee3d5f3eb434376'/>
<id>48972d907a28de17c2a5108a3ee3d5f3eb434376</id>
<content type='text'>
Check for card detect each time an MMC/SD device is initialized. If card
detection is not implemented, this code behaves as before and continues
assuming a card is present. If no card is detected, has_init is reset
for the MMC/SD device (to force initialization next time) and an error
is returned.

Signed-off-by: Thierry Reding &lt;thierry.reding@avionic-design.de&gt;
Tested-by: Jason Liu &lt;jason.hui@linaro.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Check for card detect each time an MMC/SD device is initialized. If card
detection is not implemented, this code behaves as before and continues
assuming a card is present. If no card is detected, has_init is reset
for the MMC/SD device (to force initialization next time) and an error
is returned.

Signed-off-by: Thierry Reding &lt;thierry.reding@avionic-design.de&gt;
Tested-by: Jason Liu &lt;jason.hui@linaro.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mmc: Change board_mmc_getcd() function prototype.</title>
<updated>2012-01-09T03:28:27+00:00</updated>
<author>
<name>Thierry Reding</name>
<email>thierry.reding@avionic-design.de</email>
</author>
<published>2012-01-02T01:15:36+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=314284b1567f1ce29c19060641e7f213146f7ab8'/>
<id>314284b1567f1ce29c19060641e7f213146f7ab8</id>
<content type='text'>
The new API no longer uses the extra cd parameter that was used to store
the card presence state. Instead, this information is returned via the
function's return value. board_mmc_getcd() returns -1 to indicate that
no card-detection mechanism is implemented; 0 indicates that no card is
present and 1 is returned if it was detected that a card is present.

The rationale for this change can be found in the following email
thread:

	http://lists.denx.de/pipermail/u-boot/2011-November/110180.html

In summary, the old API was not consistent with the rest of the MMC API
which always passes a struct mmc as the first parameter. Furthermore the
cd parameter was used to mean "card absence" in some implementations and
"card presence" in others.

Signed-off-by: Thierry Reding &lt;thierry.reding@avionic-design.de&gt;
Tested-by: Jason Liu &lt;jason.hui@linaro.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The new API no longer uses the extra cd parameter that was used to store
the card presence state. Instead, this information is returned via the
function's return value. board_mmc_getcd() returns -1 to indicate that
no card-detection mechanism is implemented; 0 indicates that no card is
present and 1 is returned if it was detected that a card is present.

The rationale for this change can be found in the following email
thread:

	http://lists.denx.de/pipermail/u-boot/2011-November/110180.html

In summary, the old API was not consistent with the rest of the MMC API
which always passes a struct mmc as the first parameter. Furthermore the
cd parameter was used to mean "card absence" in some implementations and
"card presence" in others.

Signed-off-by: Thierry Reding &lt;thierry.reding@avionic-design.de&gt;
Tested-by: Jason Liu &lt;jason.hui@linaro.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mmc: change magic number to macro define</title>
<updated>2011-11-03T07:14:58+00:00</updated>
<author>
<name>Lei Wen</name>
<email>leiwen@marvell.com</email>
</author>
<published>2011-10-03T20:35:10+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0560db18ecd5b6f15f8bc655868d7d2316eba261'/>
<id>0560db18ecd5b6f15f8bc655868d7d2316eba261</id>
<content type='text'>
Previous magic number is hard to parse its meaning, change it to
respective macro definition

Signed-off-by: Lei Wen &lt;leiwen@marvell.com&gt;
Acked-by: WOlfgang Denk &lt;wd@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previous magic number is hard to parse its meaning, change it to
respective macro definition

Signed-off-by: Lei Wen &lt;leiwen@marvell.com&gt;
Acked-by: WOlfgang Denk &lt;wd@denx.de&gt;
</pre>
</div>
</content>
</entry>
</feed>
