- Oct 09, 2013
-
-
git://git.denx.de/u-boot-mpc83xxTom Rini authored
-
- Oct 08, 2013
-
-
Tom Rini authored
When we have CONFIG_SPI_FLASH set we now require CONFIG_CMD_SF. Signed-off-by:
Tom Rini <trini@ti.com>
-
Tom Rini authored
Upon further inspection and review and chatting with kernel folks, what happens here is that what mmcblk# a device gets is based on probe order. So a system with an SD card inserted with place eMMC on mmcblk1, but without an SD card, it will be on mmcblk0. So U-boot can only provide a best guess. In this case, if no SD card is present, we would want to pass mmcblk0p2 still. If an SD card is present, it woudl be able to provide a uEnv.txt that would be loaded (even if the kernel is NOT there) which can still update mmcroot variable. This reverts commit 827512fb. Cc: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by:
Tom Rini <trini@ti.com>
-
git://git.denx.de/u-boot-armTom Rini authored
-
git://git.denx.de/u-boot-spiTom Rini authored
-
Rajeshwari Shinde authored
Since SPI register access is so expensive, it is worth transferring data a word at a time if we can. This complicates the driver unfortunately. Use the byte-swapping feature to avoid having to convert to/from big endian in software. This change increases speed from about 2MB/s to about 4.5MB/s. Signed-off-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Rajeshwari S Shinde <rajeshwari.s@samsung.com> Reviewed-by:
Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
-
Rajeshwari Shinde authored
Accessing SPI registers is slow, but access to the FIFO level register in particular seems to be extraordinarily expensive (I measure up to 600ns). Perhaps it is required to synchronise with the SPI byte output logic which might run at 1/8th of the 40MHz SPI speed (just a guess). Reduce access to this register by filling up and emptying FIFOs more completely, rather than just one word each time around the inner loop. Since the rxfifo value will now likely be much greater that what we read before we fill the txfifo, we only fill the txfifo halfway. This is because if the txfifo is empty, but the rxfifo has data in it, then writing too much data to the txfifo may overflow the rxfifo as data arrives. This speeds up SPI flash reading from about 1MB/s to about 2MB/s on snow. Signed-off-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Rajeshwari S Shinde <rajeshwari.s@samsung.com> Reviewed-by:
Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
-
Rajeshwari Shinde authored
For devices that need some time to react after a spi transaction finishes, add the ability to set a delay. Implement this as a delay on the first/next transaction to avoid any delay in the fairly common case where a SPI transaction is followed by other processing. Signed-off-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Rajeshwari S Shinde <rajeshwari.s@samsung.com> Reviewed-by:
Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
-
Rajeshwari Shinde authored
This function, if implemented by the board, provides a microsecond timer. The granularity may be larger than 1us if hardware does not support this. Signed-off-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Rajeshwari S Shinde <rajeshwari.s@samsung.com> Reviewed-by:
Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
-
- Oct 07, 2013
-
-
Wolfgang Denk authored
As documented, almost all U-Boot commands expect numbers to be entered in hexadecimal input format. (Exception: for historical reasons, the "sleep" command takes its argument in decimal input format.) This rule was broken for the "load" command; for details please see especially commits 045fa1e1 "fs: add filesystem switch libary, implement ls and fsload commands" and 3f83c87e "fs: fix number base behaviour change in fatload/ext*load". In the result, the load command would always require an explicit "0x" prefix for regular (i. e. base 16 formatted) input. Change this to use the standard notation of base 16 input format. While strictly speaking this is a change of the user interface, we hope that it will not cause trouble. Stephen Warren comments (see [1]): I suppose you can change the behaviour if you want; anyone writing "0x..." for their values presumably won't be affected, and if people really do assume all values in U-Boot are in hex, presumably nobody currently relies upon using non-prefixed values with the generic load command, since it doesn't work like that right now. [1] http://article.gmane.org/gmane.comp.boot-loaders.u-boot/171172 Acked-by:
Tom Rini <trini@ti.com> Acked-by:
Stephen Warren <swarren@nvidia.com> Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
Chin Liang See authored
Adding the generated pin mux configuration by Preloader Generator tool Signed-off-by:
Chin Liang See <clsee@altera.com> Reviewed-by:
Pavel Machek <pavel@denx.de> Acked-by:
Dinh Nguyen <dinguyen@altera.com> Cc: Wolfgang Denk <wd@denx.de> CC: Pavel Machek <pavel@denx.de> Cc: Dinh Nguyen <dinguyen@altera.com> Cc: Tom Rini <trini@ti.com> Cc: Albert Aribaud <albert.u.boot@aribaud.net>
-
Chin Liang See authored
Adding System Manager driver which will configure the pin mux for real hardware Cyclone V development kit (not Virtual Platform) Signed-off-by:
Chin Liang See <clsee@altera.com> Reviewed-by:
Pavel Machek <pavel@denx.de> Acked-by:
Dinh Nguyen <dinguyen@altera.com> Cc: Wolfgang Denk <wd@denx.de> CC: Pavel Machek <pavel@denx.de> Cc: Dinh Nguyen <dinguyen@altera.com> Cc: Tom Rini <trini@ti.com> Cc: Albert Aribaud <albert.u.boot@aribaud.net>
-
Albert ARIBAUD authored
omap1510inn is orphan and has been for years now. Reove it and, as it was the only arm925t target, also remove arm925t support. Update doc/README.scrapyard accordingly. Signed-off-by:
Albert ARIBAUD <albert.u.boot@aribaud.net>
-
Jagan Teki authored
Updated SPI/status.txt, with memory_map and TODO. Signed-off-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
-
Jagan Teki authored
There is no page_size for ramtron flashes, so just print the detected flash and it's size. Signed-off-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
-
Jagan Teki authored
- Add spaces, tabs - Commenting. - Rearrange code. - Add static qualifier for missing func. - Remove memory_map from ramtron.c - Ramtron: spi_flash_internal.h -> sf_internal.h Signed-off-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
-
Poddar, Sourav authored
Contains documentation and testing details for qspi flash interface. Signed-off-by:
Sourav Poddar <sourav.poddar@ti.com> Reviewed-by:
Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
-
Matt Porter authored
Enables support for SPI SPL, QSPI and Spansion serial flash device on the EVM. Configures pin muxes for QSPI mode. Signed-off-by:
Matt Porter <matt.porter@linaro.org> Signed-off-by:
Sourav Poddar <sourav.poddar@ti.com> Reviewed-by:
Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
-
Matt Porter authored
Adds a SPI master driver for the TI QSPI peripheral. - Added quad read support. - Added memory mapped support. Signed-off-by:
Matt Porter <matt.porter@linaro.org> Signed-off-by:
Sourav Poddar <sourav.poddar@ti.com> Signed-off-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
-
Poddar, Sourav authored
Qspi controller can have a memory mapped port which can be used for data read. Added support to enable memory mapped port read. This patch enables the following: - It enables exchange of memory map address between mtd and qspi through the introduction of "memory_map" flag. - Add support to communicate to the driver that memory mapped transfer is to be started through introduction of new flags like "SPI_XFER_MEM_MAP" and "SPI_XFER_MEM_MAP_END". This will enable the spi controller to do memory mapped configurations if required. Signed-off-by:
Sourav Poddar <sourav.poddar@ti.com> Reviewed-by:
Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
-
Poddar, Sourav authored
Clock requirement for qspi clk is 192 Mhz. According to the below formulae, f dpll = f ref * 2 * m /(n + 1) clockoutx2_Hmn = f dpll / (hmn+ 1) fref = 20 Mhz, m = 96, n = 4 gives f dpll = 768 Mhz For clockoutx2_Hmn to be 768, hmn + 1 should be 4. Signed-off-by:
Sourav Poddar <sourav.poddar@ti.com> Reviewed-by:
Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
-
Matt Porter authored
Add QSPI definitions and clock configuration support. Signed-off-by:
Matt Porter <matt.porter@linaro.org> Signed-off-by:
Sourav Poddar <sourav.poddar@ti.com> Reviewed-by:
Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
-
Priyanka Jain authored
Add support for EON EN25S64 SPI flash. Signed-off-by:
Priyanka Jain <Priyanka.Jain@freescale.com> Signed-off-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
-
Jagan Teki authored
doc/SPI/status.txt added to track the u-boot SPI subsystem status. Signed-off-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
-
Jagan Teki authored
Renamed: spi_flash.c -> sf.c spi_flash_internal.h -> sf_internal.h spi_flash_ops.c -> sf_ops.c spi_flash_probe.c -> sf_probe.c Signed-off-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
-
Jagan Teki authored
- Rearranged multi-line comment style. - Add tabs. - Add spaces. Signed-off-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
-
Jagan Teki authored
More cleanups on spi_flash side: - Removed unneeded comments. - Rearranged macros in proper location. - Rearranged func declerations - Renamed few function names. - Added License headers. Signed-off-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
-
Jagan Teki authored
Added a support for common probe, hence removed removed spi_flash_do_alloc reference. Signed-off-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
-
Jagan Teki authored
Add support for Macronix MX25L51235F SPI flash. Signed-off-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
-
Jagan Teki authored
Add support for Macronix MX25L25635F SPI flash. Signed-off-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
-
Jagan Teki authored
Signed-off-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
-
Jagan Teki authored
Included erase_size while printing probed flash details. Signed-off-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
-
Jagan Teki authored
Use flash->page_size arg in print_size() instead of flash->sector_size while printing detected flas part details. Signed-off-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
-
Jagan Teki authored
Add support for Spansion S25FL512S_256K SPI flash. Signed-off-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
-
Jagan Teki authored
Add support for Spansion S25FL256S_256K SPI flash. Signed-off-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
-
Jagan Teki authored
Add support for EON EN25Q64 SPI flash. Signed-off-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
-
Jagan Teki authored
Now the common probing is handled in spi_flash_probe.c hence removed the unneeded flash drivers. Signed-off-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
-
Jagan Teki authored
Compared to other spi flashes, ramtron has a different probing and implementation on flash ops, hence moved ramtron probe code into ramtron driver. Signed-off-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
-
Jagan Teki authored
Added proper comment style on spi_flash structure to make more readable. Signed-off-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
-
Jagan Teki authored
Signed-off-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
-