- Dec 14, 2015
-
-
York Sun authored
For four chip-selects enabled case, RTT is parked on all of them. Signed-off-by:
York Sun <yorksun@freescale.com>
-
York Sun authored
MR6 bit 6 is set accrodingly for range 1 or 2, per JEDEC spec. Signed-off-by:
York Sun <yorksun@freescale.com>
-
York Sun authored
DDR4 has different RTT value and code according to JEDEC spec. Update the macros and options . Signed-off-by:
York Sun <yorksun@freescale.com>
-
- Dec 11, 2015
-
-
git://git.denx.de/u-boot-spiTom Rini authored
-
Michal Simek authored
Add xlnx,xps-spi-2.00.a/b which is compatible string listed in the Linux kernel. Remove origin one which has no real background. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Reviewed-by:
Jagan Teki <jteki@openedev.com>
-
Jagan Teki authored
Used quite different name's and e-mail address, all of them mapped to standard name and e-mail address. Cc: Tom Rini <trini@konsulko.com> Reviewed-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by:
Jagan Teki <jteki@openedev.com>
-
Jagan Teki authored
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>
-
Jagan Teki authored
Used static for file-scope functions in sf_probe.c Reviewed-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Jagan Teki <jteki@openedev.com>
-
Jagan Teki authored
Since spi_slave is a spi pointer in spi_flash{} then assign spi_slave{} pointer to flash->spi and remove spi_slave pointer argument to - spi_flash_probe_slave - spi_flash_scan Tested-by:
Jagan Teki <jteki@openedev.com> Tested-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Jagan Teki <jteki@openedev.com>
-
Jagan Teki authored
For assigning read_bar commands in spansion case, break is missing this patch add that break. Reviewed-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Jagan Teki <jteki@openedev.com>
-
Jagan Teki authored
SST parts added on sf_params.c supports both SST_WR which consits of both BP and WP and there is a spi controller ich which supports only BP so the relevent _write hook set based on "slave->op_mode_tx" hence there is no respective change required from flash side hance removed these. Tested-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com> Signed-off-by:
Jagan Teki <jteki@openedev.com>
-
Jagan Teki authored
Removed unneeded header includes in sf_ops and sf_probe Reviewed-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Jagan Teki <jteki@openedev.com>
-
Jagan Teki authored
Using macro's for flash power up read-only access code leads wrong behaviour hence use idcode0 for runtime detection, hence the flash which require this functionality gets detected at runtime. Tested-by:
Jagan Teki <jteki@openedev.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Jagan Teki <jteki@openedev.com>
-
Jagan Teki authored
Most of the register access function are static, so used simple name to represent each. Tested-by:
Jagan Teki <jteki@openedev.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Jagan Teki <jteki@openedev.com>
-
Jagan Teki authored
This patch removes unneeded ifdef and fixed accordingly. Reviewed-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Jagan Teki <jteki@openedev.com>
-
Jagan Teki authored
Use static for file-scope functions and removed them from header files. Tested-by:
Jagan Teki <jteki@openedev.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com> Signed-off-by:
Jagan Teki <jteki@openedev.com>
-
Jagan Teki authored
- Move bar read code below the bar write hance both at once place, hence it easy for #ifdef macro only once and readable. - Move read_cmd_array at top Tested-by:
Jagan Teki <jteki@openedev.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Jagan Teki <jteki@openedev.com>
-
Jagan Teki authored
read_id code is related to spi_flash stuff hence moved to sf_ops. Tested-by:
Jagan Teki <jteki@openedev.com> Tested-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Jagan Teki <jteki@openedev.com>
-
Jagan Teki authored
Intension is that sf_ops should deals all spi_flash related stuff and sf_probe (which should renamed future) should be an interface layer for spi_flash versus spi drivers. sf_ops => spi_flash interface sf_probe => interface layer vs spi_flash(sf_probe) to spi drivers Tested-by:
Jagan Teki <jteki@openedev.com> Tested-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Jagan Teki <jteki@openedev.com>
-
Jagan Teki authored
Rename spi_flash_validate_params to spi_flash_scan as this code not only deals with params setup but also configure all spi_flash attributes. And also moved all flash related code into spi_flash_scan for future functionality addition. Tested-by:
Jagan Teki <jteki@openedev.com> Tested-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Jagan Teki <jteki@openedev.com>
-
Michal Simek authored
ZynqMP is using different symbol. Use correct one. Reviewed-by:
Jagan Teki <jteki@openedev.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Extend compatible list table for cdns,spi-r1p6 compatible string. Reviewed-by:
Jagan Teki <jteki@openedev.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Peng Fan authored
Support qspi flashes for mx7dsabresd 1. introduce pin mux settings 2. enable qspi clock 3. introduce related macro definitions Default QSPI is not enabled, since we need hardware rework to use QSPI, see SPF-28590, page 9: " QSPI signals are muxed with EPDC_D[7:0] When using QSPI: de-populate R388-R391, R396-R399 populate R392-R395, R299, R300 " After hardware rework, define CONFIG_FSL_QSPI in mx7dsabresd.h. qspi flashes can be deteced and read/erase/write. Log info: " => sf probe SF: Detected MX25L51235F with page size 256 Bytes, erase size 64 KiB, total 64 MiB => sf read 0x80000000 0 0x4000000 device 0 whole chip SF: 67108864 bytes @ 0x0 Read: OK => sf erase 0 0x4000000 SF: 67108864 bytes @ 0x0 Erased: OK => sf write 0x80000000 0 0x4000000 device 0 whole chip SF: 67108864 bytes @ 0x0 Written: OK " Cc: Fabio Estevam <fabio.estevam@freescale.com> Cc: Adrian Alonso <aalonso@freescale.com> Reviewed-by:
Stefano Babic <sbabic@denx.de> Reviewed-by:
Jagan Teki <jteki@openedev.com> Signed-off-by:
Peng Fan <Peng.Fan@freescale.com>
-
Jagan Teki authored
SPI_3WIRE is spi mode not spi flags, so this patch fixed the spi-3wire checking throgh mode instead of flags. Cc: Mugunthan V N <mugunthanvnm@ti.com> Acked-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Jagan Teki <jteki@openedev.com>
-
Jagan Teki authored
spi-3wire is used when SI/SO signals shared so get the same from dts node and assign to mode on slave plat->mode. Acked-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Jagan Teki <jteki@openedev.com>
-
git://git.denx.de/u-boot-dmTom Rini authored
-
http://git.denx.de/u-boot-sunxiTom Rini authored
-
Michal Simek authored
Use tabs instead of space for indentation. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Michal Simek authored
Fix typo in command description. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Stefan Roese authored
Fix incorrect comment alignments. Signed-off-by:
Stefan Roese <sr@denx.de> Cc: Simon Glass <sjg@chromium.org> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
Stefan Roese authored
Add a remark about SPL to this Kconfig option. Otherwise its identitcal to the non-SPL version, which is confusing. Signed-off-by:
Stefan Roese <sr@denx.de> Cc: Simon Glass <sjg@chromium.org> Acked-by:
Simon Glass <sjg@chromium.org> Acked-by:
Michal Simek <michal.simek@xilinx.com>
-
Thomas Chou authored
Add links for toolchains not available on kernel.org. The sh4 toolchains from kernel.org dose not work for some boards, so use the sh from Sourcery. Signed-off-by:
Thomas Chou <thomas@wytron.com.tw> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
- Dec 10, 2015
-
-
Jens Kuske authored
The read delays were set incorrectly, leading to reliability issues at higher DRAM clock speeds. This commit adjusts this to match the vendor boot0 behaviour. Signed-off-by:
Jens Kuske <jenskuske@gmail.com> Tested-by:
Siarhei Siamashka <siarhei.siamashka@gmail.com> Reviewed-by:
Hans de Goede <hdegoede@redhat.com> Signed-off-by:
Hans de Goede <hdegoede@redhat.com>
-
Olliver Schinagl authored
Add some spaces around operators. Signed-off-by:
Olliver Schinagl <o.schinagl@ultimaker.com> Reviewed-by:
Hans de Goede <hdegoede@redhat.com> Signed-off-by:
Hans de Goede <hdegoede@redhat.com>
-
Olliver Schinagl authored
Commit 6c739c5d added code to enable i2c bus 4 and 5 on the sun7i SoC but forgot to extend the range check in clock_twi_onoff, resulting in the clock not getting enabled. The range-check is not needed at all, since clock_twi_onoff only gets called with such high indexes when CONFIG_I2C3_ENABLE / CONFIG_I2C4_ENABLE is set and Kconfig already only allows these on sun6i / sun7i. This commit removes the range-check all together fixing i2c bus 4 and 5 not working on sun7i. Signed-off-by:
Olliver Schinagl <o.schinagl@ultimaker.com> [hdegoede@redhat.com] Remove range check instead of extending it Signed-off-by:
Hans de Goede <hdegoede@redhat.com>
-
Hans de Goede authored
Select SYS_NS16550 from Kconfig instead of setting it in all our defconfig files. Signed-off-by:
Hans de Goede <hdegoede@redhat.com>
-
vishnupatekar authored
Add dts and defconfig for h8homletv2 board. H8Homlet Proto v2.0 Board is A83T Dev Board by Allwinner. It has UART, ethernet, USB, HDMI, etc ports on it. A83T patches are tested on this board. Signed-off-by:
Vishnu Patekar <vishnupatekar0510@gmail.com> Reviewed-by:
Hans de Goede <hdegoede@redhat.com> Signed-off-by:
Hans de Goede <hdegoede@redhat.com>
-
vishnupatekar authored
Allwinner A83T is new octa-core cortex-a7 SOC. This adds the basic dtsi, the clocks differs from earlier sun8i SOCs. This is not yet included in kernel. Signed-off-by:
Vishnu Patekar <vishnupatekar0510@gmail.com> Reviewed-by:
Hans de Goede <hdegoede@redhat.com> Signed-off-by:
Hans de Goede <hdegoede@redhat.com>
-
vishnupatekar authored
Add support for A83T dram. Register are different from sun8i A33. init code is similar to A33 dram init. hope we'll shift duplicate code in dram_sun8i_* to dram helper in future. Signed-off-by:
Vishnu Patekar <vishnupatekar0510@gmail.com> Reviewed-by:
Hans de Goede <hdegoede@redhat.com> Signed-off-by:
Hans de Goede <hdegoede@redhat.com>
-
vishnupatekar authored
Add basic clocks pll1, pll5, and some default values from allwinner u-boot. Signed-off-by:
Vishnu Patekar <vishnupatekar0510@gmail.com> [hdegoede@redhat.com] Fix PLL6 init to run at 600 MHz instead of 288 MHz, fixing the mmc support not working [hdegoede@redhat.com] Fix PLL init code to properly wait for the PLL-s to stabilize, fixing cold-booting directly from sdcard not working Signed-off-by:
Hans de Goede <hdegoede@redhat.com>
-