<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/include/spi_flash.h, branch v2013.07</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>sf: Add flag status register polling support</title>
<updated>2013-06-23T16:32:51+00:00</updated>
<author>
<name>Jagannadha Sutradharudu Teki</name>
<email>jaganna@xilinx.com</email>
</author>
<published>2013-06-21T10:26:30+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=615a1561673a9a1b863f905d40f084f36edb9022'/>
<id>615a1561673a9a1b863f905d40f084f36edb9022</id>
<content type='text'>
Flag status register polling is required for micron 512Mb flash
devices onwards, for performing erase/program operations.

Like polling for WIP(Write-In-Progress) bit in read status register,
spi_flash_cmd_wait_ready will poll for PEC(Program-Erase-Control)
bit in flag status register.

Signed-off-by: Jagannadha Sutradharudu Teki &lt;jaganna@xilinx.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Flag status register polling is required for micron 512Mb flash
devices onwards, for performing erase/program operations.

Like polling for WIP(Write-In-Progress) bit in read status register,
spi_flash_cmd_wait_ready will poll for PEC(Program-Erase-Control)
bit in flag status register.

Signed-off-by: Jagannadha Sutradharudu Teki &lt;jaganna@xilinx.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sf: Add bank addr code in CONFIG_SPI_FLASH_BAR</title>
<updated>2013-06-23T16:32:50+00:00</updated>
<author>
<name>Jagannadha Sutradharudu Teki</name>
<email>jaganna@xilinx.com</email>
</author>
<published>2013-06-19T10:03:58+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1dcd6d03811d4f30052a5e24377b378867211b05'/>
<id>1dcd6d03811d4f30052a5e24377b378867211b05</id>
<content type='text'>
Defined bank addr code on CONFIG_SPI_FLASH_BAR macro, to reduce the
size for existing boards which has &lt; 16Mbytes SPI flashes.

It's upto user which has provision to use the bank addr code for
flashes which has &gt; 16Mbytes.

Signed-off-by: Jagannadha Sutradharudu Teki &lt;jaganna@xilinx.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Defined bank addr code on CONFIG_SPI_FLASH_BAR macro, to reduce the
size for existing boards which has &lt; 16Mbytes SPI flashes.

It's upto user which has provision to use the bank addr code for
flashes which has &gt; 16Mbytes.

Signed-off-by: Jagannadha Sutradharudu Teki &lt;jaganna@xilinx.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sf: Read flash bank addr register at probe time</title>
<updated>2013-06-23T16:32:50+00:00</updated>
<author>
<name>Jagannadha Sutradharudu Teki</name>
<email>jaganna@xilinx.com</email>
</author>
<published>2013-06-19T10:07:09+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e612ddf5939ba257f2933c7539ee39a3f760e8ce'/>
<id>e612ddf5939ba257f2933c7539ee39a3f760e8ce</id>
<content type='text'>
Read the flash bank addr register to get the state of bank in
a perticular flash. and also bank write happens only when there is
a change in bank selection from user.

bank read only valid for flashes which has &gt; 16Mbytes those are
opearted in 3-byte addr mode, each bank occupies 16Mytes.

Suppose if the flash has 64Mbytes size consists of 4 banks like
bank0, bank1, bank2 and bank3.

Signed-off-by: Jagannadha Sutradharudu Teki &lt;jaganna@xilinx.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Read the flash bank addr register to get the state of bank in
a perticular flash. and also bank write happens only when there is
a change in bank selection from user.

bank read only valid for flashes which has &gt; 16Mbytes those are
opearted in 3-byte addr mode, each bank occupies 16Mytes.

Suppose if the flash has 64Mbytes size consists of 4 banks like
bank0, bank1, bank2 and bank3.

Signed-off-by: Jagannadha Sutradharudu Teki &lt;jaganna@xilinx.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sf: Discover the bank addr commands</title>
<updated>2013-06-23T16:32:49+00:00</updated>
<author>
<name>Jagannadha Sutradharudu Teki</name>
<email>jaganna@xilinx.com</email>
</author>
<published>2013-06-19T10:01:23+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=cf6b11dcda2f13d1c05c2f20e2a1735a833a41fe'/>
<id>cf6b11dcda2f13d1c05c2f20e2a1735a833a41fe</id>
<content type='text'>
Bank/Extended addr commands are specific to particular
flash vendor so discover them based on the idocode0.

Assign the discovered bank commands to spi_flash members
so-that the bank read/write will use their specific operations.

Signed-off-by: Jagannadha Sutradharudu Teki &lt;jaganna@xilinx.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bank/Extended addr commands are specific to particular
flash vendor so discover them based on the idocode0.

Assign the discovered bank commands to spi_flash members
so-that the bank read/write will use their specific operations.

Signed-off-by: Jagannadha Sutradharudu Teki &lt;jaganna@xilinx.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sf: Enable FDT-based configuration and memory mapping</title>
<updated>2013-03-19T15:45:37+00:00</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2013-03-11T06:08:08+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=bb8215f437a7c948eec82a6abe754c226978bd6d'/>
<id>bb8215f437a7c948eec82a6abe754c226978bd6d</id>
<content type='text'>
Enable device tree control of SPI flash, and use this to implement
memory-mapped SPI flash, which is supported on Intel chips.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Enable device tree control of SPI flash, and use this to implement
memory-mapped SPI flash, which is supported on Intel chips.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sf: Add spi_flash_alloc() to create a new SPI flash struct</title>
<updated>2013-03-19T15:45:36+00:00</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2013-03-11T06:08:02+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b5aec1424d191c51f694ba85d5577e7a635363d9'/>
<id>b5aec1424d191c51f694ba85d5577e7a635363d9</id>
<content type='text'>
At present it is difficult to extend the SPI flash structure since
all devices allocate it themselves, and few of them zero all fields.
Add a new function spi_flash_alloc() which can be used by SPI devices
to perform this allocation, and thus ensure that all devices can
better cope with SPI structure changes.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
At present it is difficult to extend the SPI flash structure since
all devices allocate it themselves, and few of them zero all fields.
Add a new function spi_flash_alloc() which can be used by SPI devices
to perform this allocation, and thus ensure that all devices can
better cope with SPI structure changes.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sf: Add spi_boot() to allow booting from SPI flash in an SPL</title>
<updated>2011-12-24T09:23:30+00:00</updated>
<author>
<name>Christian Riesch</name>
<email>christian.riesch@omicron.at</email>
</author>
<published>2011-12-09T09:47:35+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=32b1127397a305ae0bc0a55ed9c4421fb570ef78'/>
<id>32b1127397a305ae0bc0a55ed9c4421fb570ef78</id>
<content type='text'>
Signed-off-by: Christian Riesch &lt;christian.riesch@omicron.at&gt;
Cc: Heiko Schocher &lt;hs@denx.de&gt;
Cc: Mike Frysinger &lt;vapier@gentoo.org&gt;
Cc: Scott Wood &lt;scottwood@freescale.com&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Christian Riesch &lt;christian.riesch@omicron.at&gt;
Cc: Heiko Schocher &lt;hs@denx.de&gt;
Cc: Mike Frysinger &lt;vapier@gentoo.org&gt;
Cc: Scott Wood &lt;scottwood@freescale.com&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sf: unify write funcs</title>
<updated>2011-07-26T14:29:27+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2011-04-25T06:58:29+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d4aa500913adf074ad85b1b74bf79e9abb104a70'/>
<id>d4aa500913adf074ad85b1b74bf79e9abb104a70</id>
<content type='text'>
Once we add a new page_size field for write lengths, we can unify the
write methods for most of the spi flash drivers.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Once we add a new page_size field for write lengths, we can unify the
write methods for most of the spi flash drivers.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sf: add struct spi_flash.sector_size parameter</title>
<updated>2011-04-12T06:15:37+00:00</updated>
<author>
<name>Richard Retanubun</name>
<email>RichardRetanubun@ruggedcom.com</email>
</author>
<published>2011-02-16T21:37:22+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=4e6a515899290635bfd7fe3aef8c4d4d9e88fced'/>
<id>4e6a515899290635bfd7fe3aef8c4d4d9e88fced</id>
<content type='text'>
This patch adds a new member to struct spi_flash (u16 sector_size)
and updates the spi flash drivers to start populating it.

This parameter can be used by spi flash commands that need to round
up units of operation to the flash's sector_size.

Having this number in one place also allows duplicated code to be
further collapsed into one common location (such as erase parameter
and the detected message).

Signed-off-by: Richard Retanubun &lt;RichardRetanubun@RuggedCom.com&gt;
Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds a new member to struct spi_flash (u16 sector_size)
and updates the spi flash drivers to start populating it.

This parameter can be used by spi flash commands that need to round
up units of operation to the flash's sector_size.

Having this number in one place also allows duplicated code to be
further collapsed into one common location (such as erase parameter
and the detected message).

Signed-off-by: Richard Retanubun &lt;RichardRetanubun@RuggedCom.com&gt;
Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sf: punt unused spi_flash_region struct</title>
<updated>2011-04-12T03:40:59+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2010-12-27T03:31:18+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=192b639ecce29caa954482dbcaa46ae4fc4df0e7'/>
<id>192b639ecce29caa954482dbcaa46ae4fc4df0e7</id>
<content type='text'>
Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
