| #
1c17f5ec |
| 28-Dec-2015 |
Jagan Teki <jteki@openedev.com> |
sf: Make IO modes at last in read modes
SLOW, FAST, DUAL, DUAL_IO, QUAD, QUAD_IO changed order to SLOW, FAST, DUAL, QUAD, DUAL_IO, QUAD_IO
Cc: Simon Glass <sjg@chromium.org> Cc: Michal Simek <micha
sf: Make IO modes at last in read modes
SLOW, FAST, DUAL, DUAL_IO, QUAD, QUAD_IO changed order to SLOW, FAST, DUAL, QUAD, DUAL_IO, QUAD_IO
Cc: Simon Glass <sjg@chromium.org> Cc: Michal Simek <michal.simek@xilinx.com> Cc: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Tested-by: Jagan Teki <jteki@openedev.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Jagan Teki <jteki@openedev.com>
show more ...
|
| #
91292e0b |
| 16-Dec-2015 |
Jagan Teki <jteki@openedev.com> |
spi: Rename op_mode_rx to mode_rx
Since spi rx mode macro's are renamed to simple and meaninfull, this patch will rename the respective structure members.
Cc: Simon Glass <sjg@chromium.org> Cc: Bin
spi: Rename op_mode_rx to mode_rx
Since spi rx mode macro's are renamed to simple and meaninfull, this patch will rename the respective structure members.
Cc: Simon Glass <sjg@chromium.org> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Michal Simek <michal.simek@xilinx.com> Cc: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Tested-by: Mugunthan V N <mugunthanvnm@ti.com> Tested-by: Jagan Teki <jteki@openedev.com> Signed-off-by: Jagan Teki <jteki@openedev.com>
show more ...
|
| #
d9a0ab6c |
| 16-Dec-2015 |
Jagan Teki <jteki@openedev.com> |
sf: Write quad bit along with read status
While setting quad bit on spansion, macronix code is writing only particular quad bit this may give wrong functionality with other register bits, So this pa
sf: Write quad bit along with read status
While setting quad bit on spansion, macronix code is writing only particular quad bit this may give wrong functionality with other register bits, So this patch fix the issue where it with write previous read reg status along particular quad bit.
Cc: Vignesh R <vigneshr@ti.com> Cc: Mugunthan V N <mugunthanvnm@ti.com> Cc: Simon Glass <sjg@chromium.org> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Michal Simek <michal.simek@xilinx.com> Cc: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Jagan Teki <jteki@openedev.com>
show more ...
|
| #
bfcdc395 |
| 15-Dec-2015 |
Jagan Teki <jteki@openedev.com> |
sf: Read back and check once macronix quad bit set
One macronix quad bit set using SR, it's good to read back and check the written bit and also if it's already been set check for the bit and return
sf: Read back and check once macronix quad bit set
One macronix quad bit set using SR, it's good to read back and check the written bit and also if it's already been set check for the bit and return.
Cc: Vignesh R <vigneshr@ti.com> Cc: Simon Glass <sjg@chromium.org> Cc: Bin Meng <bmeng.cn@gmail.com> Tested-by: Mugunthan V N <mugunthanvnm@ti.com> Signed-off-by: Jagan Teki <jteki@openedev.com>
show more ...
|
| #
ffecb0fc |
| 15-Dec-2015 |
Jagan Teki <jteki@openedev.com> |
sf: Read back and check once spansion quad bit set
One spansion quad bit set using CR, it's good to read back and check the written bit and also if it's already been set check for the bit and return
sf: Read back and check once spansion quad bit set
One spansion quad bit set using CR, it's good to read back and check the written bit and also if it's already been set check for the bit and return.
Cc: Vignesh R <vigneshr@ti.com> Cc: Simon Glass <sjg@chromium.org> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Michal Simek <michal.simek@xilinx.com> Cc: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Tested-by: Mugunthan V N <mugunthanvnm@ti.com> Signed-off-by: Jagan Teki <jteki@openedev.com>
show more ...
|
| #
c56ae751 |
| 14-Dec-2015 |
Jagan Teki <jteki@openedev.com> |
sf: Fix quad bit set for micron devices
Setting up quad bit for micron devices need to do the same way as other flash devices like spansion, winbond etc does using enhanced volatile config register
sf: Fix quad bit set for micron devices
Setting up quad bit for micron devices need to do the same way as other flash devices like spansion, winbond etc does using enhanced volatile config register so this patch adds this support instead of printing "QEB is volatile"
Cc: Simon Glass <sjg@chromium.org> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Peter Pan <peterpandong@micron.com> Cc: Fabio Estevam <fabio.estevam@freescale.com> Cc: Michal Simek <michal.simek@xilinx.com> Cc: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Jagan Teki <jteki@openedev.com>
show more ...
|
| #
6f309658 |
| 13-Dec-2015 |
Jagan Teki <jteki@openedev.com> |
sf: Rename bank_end to bar_end in read_bar
bar_end gives more meaningfull compared to bank_end and spi_flash_write_bar uses bar_end so replaced bank_end with bar_end in spi_flash_read_bar
Signed-of
sf: Rename bank_end to bar_end in read_bar
bar_end gives more meaningfull compared to bank_end and spi_flash_write_bar uses bar_end so replaced bank_end with bar_end in spi_flash_read_bar
Signed-off-by: Jagan Teki <jteki@openedev.com>
show more ...
|
| #
9275929c |
| 13-Dec-2015 |
Jagan Teki <jteki@openedev.com> |
sf: Rename spi_flash_set_* functions
Since quad_mode functions are local to spi flash core, rename them to a meaningful and readable names.
Signed-off-by: Jagan Teki <jteki@openedev.com>
|
| #
d25dd942 |
| 13-Dec-2015 |
Jagan Teki <jteki@openedev.com> |
sf: Move spi_read_cmds_array locally
Since spi_read_cmds_array is used locally in spi_flash_scan, so move array to locally used function instead of defining global array.
Tested-by: Jagan Teki <jte
sf: Move spi_read_cmds_array locally
Since spi_read_cmds_array is used locally in spi_flash_scan, so move array to locally used function instead of defining global array.
Tested-by: Jagan Teki <jteki@openedev.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Jagan Teki <jteki@openedev.com>
show more ...
|
| #
cdf33938 |
| 13-Dec-2015 |
Jagan Teki <jteki@openedev.com> |
spi: Rename SPI_TX_BP|QPP to SPI_TX_BYTE|QUAD
Since SPI_TX_* are spi_slave{} members so use spi protocol notation instead spi flash programming, like
SPI_TX_BP => SPI_TX_BYTE SPI_TX_QPP => SPI_TX_
spi: Rename SPI_TX_BP|QPP to SPI_TX_BYTE|QUAD
Since SPI_TX_* are spi_slave{} members so use spi protocol notation instead spi flash programming, like
SPI_TX_BP => SPI_TX_BYTE SPI_TX_QPP => SPI_TX_QUAD
Cc: Simon Glass <sjg@chromium.org> Tested-by: Jagan Teki <jteki@openedev.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Jagan Teki <jteki@openedev.com>
show more ...
|
| #
095a41d3 |
| 13-Dec-2015 |
Jagan Teki <jteki@openedev.com> |
spi: Use mode instead of op_mode_tx
Used mode member from spi_slave{} instead of op_mode_tx.
Cc: Simon Glass <sjg@chromium.org> Tested-by: Jagan Teki <jteki@openedev.com> Tested-by: Bin Meng <bmeng
spi: Use mode instead of op_mode_tx
Used mode member from spi_slave{} instead of op_mode_tx.
Cc: Simon Glass <sjg@chromium.org> Tested-by: Jagan Teki <jteki@openedev.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Jagan Teki <jteki@openedev.com>
show more ...
|
| #
e228d6de |
| 12-Dec-2015 |
Jagan Teki <jteki@openedev.com> |
sf: Get spi locally from spi_flash
For better code readabilty, get the spi pointer from spi_flash{} locally and use it instead of direct dereferring spi pinter as flash->spi->*
Tested-by: Jagan Tek
sf: Get spi locally from spi_flash
For better code readabilty, get the spi pointer from spi_flash{} locally and use it instead of direct dereferring spi pinter as flash->spi->*
Tested-by: Jagan Teki <jteki@openedev.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Jagan Teki <jteki@openedev.com>
show more ...
|
| #
67ecb84c |
| 07-Jan-2016 |
Tom Rini <trini@konsulko.com> |
Merge branch 'master' of git://git.denx.de/u-boot-spi
|
| #
50921583 |
| 06-Jan-2016 |
Fabio Estevam <fabio.estevam@nxp.com> |
spi: spi_flash: Fix the arguments of stm_is_locked_sr()
stm_is_locked_sr() takes the status register (SR) value as the last parameter, not the second.
Based on a patch from Brian Norris for the lin
spi: spi_flash: Fix the arguments of stm_is_locked_sr()
stm_is_locked_sr() takes the status register (SR) value as the last parameter, not the second.
Based on a patch from Brian Norris for the linux kernel: http://git.infradead.org/linux-mtd.git/commit/a32d5b726ff8cf32bf491522b0ac8ae2545a063e
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Reviewed-by: Jagan Teki <jteki@openedev.com>
show more ...
|
| #
5076c64a |
| 11-Dec-2015 |
Tom Rini <trini@konsulko.com> |
Merge branch 'master' of git://git.denx.de/u-boot-spi
|
| #
cba65a77 |
| 06-Dec-2015 |
Jagan Teki <jteki@openedev.com> |
sf: Rename sf_ops.c to spi-flash.c
Since all spi-flash core operations are moved into sf_ops.c then it's better to renamed as spi-flash.c
Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Sim
sf: Rename sf_ops.c to spi-flash.c
Since all spi-flash core operations are moved into sf_ops.c then it's better to renamed as spi-flash.c
Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Jagan Teki <jteki@openedev.com>
show more ...
|
| #
4d5e29a6 |
| 29-Aug-2013 |
Jagannadha Sutradharudu Teki <jaganna@xilinx.com> |
sf: Divide spi_flash into multiple parts
Divided the spi_flash framework into mutiple parts for - spi_flash.c: spi flash core file, interaction for spi/qspi driver to spi_flash frame
sf: Divide spi_flash into multiple parts
Divided the spi_flash framework into mutiple parts for - spi_flash.c: spi flash core file, interaction for spi/qspi driver to spi_flash framework. - spi_flash_ops.c spi flash preffered operations, erase,write and read. - spi_flash_probe.c spi flash probing, easy to extend probing functionality.
This change will support to extend the functionality in a proper manner.
Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
show more ...
|
| #
6612ab33 |
| 21-Aug-2013 |
Tom Rini <trini@ti.com> |
Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx
|
| #
fdf8529a |
| 16-Aug-2013 |
Ying Zhang <b40530@freescale.com> |
powerpc : spi flash : Support to start from eSPI with SPL
This patch introduces SPL to enable a loader stub that being loaded by the code from the internal on-chip ROM. It loads the final uboot imag
powerpc : spi flash : Support to start from eSPI with SPL
This patch introduces SPL to enable a loader stub that being loaded by the code from the internal on-chip ROM. It loads the final uboot image into DDR, then jump to it to begin execution.
The SPL's size is sizeable, the maximum size must not exceed the size of L2 SRAM. It initializes the DDR through SPD code, and copys final uboot image to DDR. So there are two stage uboot images: * spl_boot, 96KB size. The env variables are copied to L2 SRAM, so that ddr spd code can get the interleaving mode setting in env. It loads final uboot image from offset 96KB. * final uboot image, size is variable depends on the functions enabled.
Signed-off-by: Ying Zhang <b40530@freescale.com> Acked-by: York Sun <yorksun@freescale.com>
show more ...
|
| #
66ddf42b |
| 12-Aug-2013 |
Tom Rini <trini@ti.com> |
Merge branch 'master' of git://git.denx.de/u-boot-spi
|
| #
fd35ca5c |
| 29-Jul-2013 |
Jagannadha Sutradharudu Teki <jaganna@xilinx.com> |
sf: Fix code cleanup
- line over 80 characters. - CHECK: Alignment should match open parenthesis
Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
|
| #
f9c1456c |
| 24-Jun-2013 |
Tom Rini <trini@ti.com> |
Merge branch 'master' of git://git.denx.de/u-boot-spi
|
| #
b9e31be0 |
| 21-Jun-2013 |
Jagannadha Sutradharudu Teki <jagannadha.sutradharudu-teki@xilinx.com> |
sf: Warn to use BAR for > 16MiB flashes
Warning for > 16MiB flashes to #define CONFIG_SPI_FLASH_BAR
Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
|
| #
29fbfc10 |
| 21-Jun-2013 |
Jagannadha Sutradharudu Teki <jagannadha.sutradharudu-teki@xilinx.com> |
sf: Add debug messages on spi_flash_read_common
- Added debug's on spi_flash_read_common() - Added space
Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
|
| #
95e779e4 |
| 21-Jun-2013 |
Jagannadha Sutradharudu Teki <jagannadha.sutradharudu-teki@xilinx.com> |
sf: Place the sf calls in proper order
Placed the sf calls in proper order - erase/write/read
Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
|