<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/mmc/mmc_write.c, branch v2015.10</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/mmc/mmc_write.c?h=v2015.10</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/mmc/mmc_write.c?h=v2015.10'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2015-06-18T20:11:41Z</updated>
<entry>
<title>mmc_write.c: Make mmc_berase do 32bit safe 64bit math</title>
<updated>2015-06-18T20:11:41Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2015-06-12T00:53:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=180f87fcc58936fb8d9e5a6babce739666c50b13'/>
<id>urn:sha1:180f87fcc58936fb8d9e5a6babce739666c50b13</id>
<content type='text'>
We want to see if the requested start or total block count are
unaligned.  We discard the whole numbers and only care about the
remainder.  Update the code to use div_u64_rem here and add a comment.

Cc: Hans de Goede &lt;hdegoede@redhat.com&gt;
Cc: Pantelis Antoniou &lt;pantelis.antoniou@konsulko.com&gt;
Cc: Bernhard Nortmann &lt;bernhard.nortmann@web.de&gt;
Reported-by: Simon Glass &lt;sjg@chromium.org&gt;
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
Tested-by: Bernhard Nortmann &lt;bernhard.nortmann@web.de&gt;
Reviewed-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</content>
</entry>
<entry>
<title>mmc: Split mmc struct, rework mmc initialization (v2)</title>
<updated>2014-03-24T10:58:56Z</updated>
<author>
<name>Pantelis Antoniou</name>
<email>panto@antoniou-consulting.com</email>
</author>
<published>2014-03-11T17:34:20Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=93bfd6167713a5cc1a78bcf60fa63f990fd3f4b3'/>
<id>urn:sha1:93bfd6167713a5cc1a78bcf60fa63f990fd3f4b3</id>
<content type='text'>
The way that struct mmc was implemented was a bit of a mess;
configuration and internal state all jumbled up in a single structure.

On top of that the way initialization is done with mmc_register leads
to a lot of duplicated code in drivers.

Typically the initialization got something like this in every driver.

	struct mmc *mmc = malloc(sizeof(struct mmc));
	memset(mmc, 0, sizeof(struct mmc);
	/* fill in fields of mmc struct */
	/* store private data pointer */
	mmc_register(mmc);

By using the new mmc_create call one just passes an mmc config struct
and an optional private data pointer like this:

	struct mmc = mmc_create(&amp;cfg, priv);

All in tree drivers have been updated to the new form, and expect
mmc_register to go away before long.

Changes since v1:

* Use calloc instead of manually calling memset.
* Mark mmc_register as deprecated.

Signed-off-by: Pantelis Antoniou &lt;panto@antoniou-consulting.com&gt;
</content>
</entry>
<entry>
<title>mmc: don't support write &amp; erase for SPL builds</title>
<updated>2013-09-20T15:58:55Z</updated>
<author>
<name>Paul Burton</name>
<email>paul.burton@imgtec.com</email>
</author>
<published>2013-09-09T14:30:26Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=da61fa5f42133593be51764b55a905330eae5063'/>
<id>urn:sha1:da61fa5f42133593be51764b55a905330eae5063</id>
<content type='text'>
For SPL builds this is just dead code since we'll only need to read.
Eliminating it results in a significant size reduction for the SPL
binary, which may be critical for certain platforms where the binary
size is highly constrained.

Signed-off-by: Paul Burton &lt;paul.burton@imgtec.com&gt;
Acked-by: Pantelis Antoniou &lt;panto@antoniou-consulting.com&gt;
</content>
</entry>
</feed>
