- 20 12月, 2016 6 次提交
-
-
由 Simon Glass 提交于
Add support for two more from the inexhaustible supply of x86 binary blob types. Signed-off-by: NSimon Glass <sjg@chromium.org> Tested-by: NBin Meng <bmeng.cn@gmail.com>
-
由 Simon Glass 提交于
When building for 64-bit x86 we need an SPL binary in the ROM. Add support for this. Also increase entry test code coverage to 100%. Signed-off-by: NSimon Glass <sjg@chromium.org> Tested-by: NBin Meng <bmeng.cn@gmail.com>
-
由 Simon Glass 提交于
Add an entry type for u-boot.img (a legacy U-Boot image) and a simple test. Signed-off-by: NSimon Glass <sjg@chromium.org> Tested-by: NBin Meng <bmeng.cn@gmail.com>
-
由 Simon Glass 提交于
The structure of x86 ROMs is pretty complex. There are various binary blobs to place in the image. Microcode requires special handling so that it is available to very early code and can be used without any memory whatsoever. Add support for the various entry types that are currently needed, along with some tests. Signed-off-by: NSimon Glass <sjg@chromium.org> Tested-by: NBin Meng <bmeng.cn@gmail.com>
-
由 Simon Glass 提交于
Add entries to support some standard U-Boot binaries, such as u-boot.bin, u-boot.dtb, etc. Also add some tests for these. Signed-off-by: NSimon Glass <sjg@chromium.org> Tested-by: NBin Meng <bmeng.cn@gmail.com>
-
由 Simon Glass 提交于
This adds the basic code for binman, including command parsing, processing of entries and generation of images. So far no entry types are supported. These will be added in future commits as examples of how to add new types. See the README for documentation. Signed-off-by: NSimon Glass <sjg@chromium.org> Tested-by: NBin Meng <bmeng.cn@gmail.com>
-
- 17 12月, 2016 2 次提交
-
-
- 16 12月, 2016 13 次提交
-
-
由 Fabio Estevam 提交于
Move USE_ARCH_MEMCPY/MEMSET options to Kconfig. Make it "default y" for the ARMv7 architecture and make it depend on !ARM64 && !SPL. Signed-off-by: NFabio Estevam <fabio.estevam@nxp.com>
-
由 macro.wave.z@gmail.com 提交于
A most basic PSCI implementation with only one psci_version is added for LS1043A, this can verify the generic PSCI framework, and more platform specific implementation will be added later. Signed-off-by: NHongbo Zhang <hongbo.zhang@nxp.com> Reviewed-by: NTom Rini <trini@konsulko.com> Reviewed-by: NYork Sun <york.sun@nxp.com>
-
由 macro.wave.z@gmail.com 提交于
Newly add ARMv8 PSCI needs to be initialized, be copied or reserved in right place, this patch does all the setup steps. Signed-off-by: NHongbo Zhang <hongbo.zhang@nxp.com> Reviewed-by: NTom Rini <trini@konsulko.com> Reviewed-by: NYork Sun <york.sun@nxp.com>
-
由 macro.wave.z@gmail.com 提交于
This patch introduces a generic ARMv8 PSCI framework, with all functions returning a dummy ARM_PSCI_RET_NI (Not Implemented), then it is up to each platform to implement their own functions based on this framework. Signed-off-by: NHongbo Zhang <hongbo.zhang@nxp.com> Reviewed-by: NTom Rini <trini@konsulko.com> Reviewed-by: NYork Sun <york.sun@nxp.com>
-
由 macro.wave.z@gmail.com 提交于
PSCI implementation needs the SMC instruction to be enabled. Signed-off-by: NHongbo Zhang <hongbo.zhang@nxp.com> Reviewed-by: NTom Rini <trini@konsulko.com> Reviewed-by: NYork Sun <york.sun@nxp.com>
-
由 macro.wave.z@gmail.com 提交于
This patch adds secure_text, secure_data and secure_stack sections for ARMv8 to hold PSCI text and data, and it is based on the legacy implementation of ARMv7. ARMV8_SECURE_BASE defines the address for PSCI secure sections, ARMV8_PSCI and ARMV8_PSCI_NR_CPUS are firstly used in this patch, so they are introduce here in Kconfig too. Signed-off-by: NHongbo Zhang <hongbo.zhang@nxp.com> Reviewed-by: NTom Rini <trini@konsulko.com> Reviewed-by: NYork Sun <york.sun@nxp.com>
-
由 macro.wave.z@gmail.com 提交于
NXP/Freescale uses macro CONFIG_ARMV8_PSCI to enable their private PSCI implementation in PPA firmware, but this macro naming too generic, so this patch replaces it with a specic one CONFIG_FSL_PPA_ARMV8_PSCI. And this macro CONFIG_ARMV8_PSCI will be used for a generic PSCI for ARMv8 which will be added in following patchs. Signed-off-by: NHongbo Zhang <hongbo.zhang@nxp.com> Reviewed-by: NTom Rini <trini@konsulko.com> Reviewed-by: NYork Sun <york.sun@nxp.com>
-
由 Priyanka Jain 提交于
LS2080A SoC family has QBMAN ver 4.0 whereas newer SoCs like LS2088A, LS1088A has QBMAN ver 4.1 QBMAN ver 4.0 and ver 4.1 supports dqrr size as 4 and 8 respectively. Add support of to check QBMAN version based on SoC SVR update dqrr_size accordingly update code to support larger dqrr_size Signed-off-by: NPriyanka Jain <priyanka.jain@nxp.com> Signed-off-by: NPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Reviewed-by: NYork Sun <york.sun@nxp.com>
-
由 Hou Zhiqiang 提交于
Corrected the ranges table of the IFC node. Signed-off-by: NHou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by: NYork Sun <york.sun@nxp.com>
-
由 Hou Zhiqiang 提交于
The unit-address should be the same as the I2C address of the device. Signed-off-by: NHou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by: NYork Sun <york.sun@nxp.com>
-
由 Shengzhou Liu 提交于
Optimize board-specific cpo for erratum A-009942 on b4860qds, ls1043aqds, ls1043ardb, ls1046aqds, ls1046ardb, ls2080ardb, t102xqds, t102xrdb, t1040qds, t104xrdb, t208xqds, t208xrdb, t4qds, t4rdb boards. Signed-off-by: NShengzhou Liu <Shengzhou.Liu@nxp.com> Reviewed-by: NYork Sun <york.sun@nxp.com>
-
由 Shengzhou Liu 提交于
Enable ERRATUM_A009942 workaround for B-series and T-series platforms. Signed-off-by: NShengzhou Liu <Shengzhou.Liu@nxp.com> Reviewed-by: NYork Sun <york.sun@nxp.com>
-
由 Cyrille Pitchen 提交于
This reverts commit c56ae751. Once the 'Quad Enable' bit is cleared in their Enhanced Volatile Configuration Register (EVCR), Micron memories expect ALL commands to use the SPI 4-4-4 protocol. Commands using SPI 1-y-z protocols are no longer accepted. Within the reverted commit, the write_evcr() function is implemented using the spi_flash_write_common(), which is a shortcut for the [ spi_flash_cmd_write_enable(), spi_flash_cmd_write(), spi_flash_cmd_wait_ready() ] sequence. Since the internal state of the Micron memory has been changed when the spi_flash_cmd_write() function completes, the later call of the spi_flash_cmd_wait_ready() function fails. Indeed the SPI controller driver is not aware of the SPI protocol switch. Further patches will fix the support of Micron QSPI memories. Signed-off-by: NCyrille Pitchen <cyrille.pitchen@atmel.com> [Rebase on master, use JEDEC_MFR(info) in place of idcode0] Signed-off-by: NJagan Teki <jagan@openedev.com>
-
- 15 12月, 2016 14 次提交
-
-
由 Phil Edworthy 提交于
As long as the memory mapped size specifeid in the DT is the same or bigger than the device size, it will work. So do not force the sizes to be identical. Signed-off-by: NPhil Edworthy <phil.edworthy@renesas.com> Reviewed-by: NJagan Teki <jagan@openedev.com>
-
由 Fabien Parent 提交于
In spi_flash_scan, 'ret' is initialled to -1, but 'ret' is not always used to store a return value, in that case, even when the function succeed, an error (-1) will be returned. Lets just return 0 if we hit the end of the function. Signed-off-by: NFabien Parent <fparent@baylibre.com> Reviewed-by: NJagan Teki <jagan@openedev.com>
-
由 Phil Edworthy 提交于
Move the code to read the "sram-size" property into the other code that reads properties from the node, rather than the SF subnode. Signed-off-by: NPhil Edworthy <phil.edworthy@renesas.com> Reviewed-by: NJagan Teki <jagan@openedev.com>
-
由 Phil Edworthy 提交于
The Cadence QSPI controller has specified overheads for the various CS times that are in addition to those programmed in to the Device Delay register. The overheads are different for the delays. In addition, the existing code does not handle the case when the delay is less than a SCLK period. This change accurately calculates the additional delays in Ref clocks. Signed-off-by: NPhil Edworthy <phil.edworthy@renesas.com> Reviewed-by: NJagan Teki <jagan@openedev.com>
-
由 Phil Edworthy 提交于
Signed-off-by: NPhil Edworthy <phil.edworthy@renesas.com> Acked-by: NMarek Vasut <marek.vasut@gmail.com> Reviewed-by: NJagan Teki <jagan@openedev.com>
-
由 Phil Edworthy 提交于
Instead of extracting mode settings and passing them as separate args to another function, just pass the SPI mode as an arg. Signed-off-by: NPhil Edworthy <phil.edworthy@renesas.com> Reviewed-by: NJagan Teki <jagan@openedev.com>
-
由 Phil Edworthy 提交于
A lot of the #defines are for single bits in a register, where the name has _MASK on the end. Since this can be used for both a mask and the value, remove _MASK from them. Whilst doing so, also remove the unnecessary brackets around the constants. Signed-off-by: NPhil Edworthy <phil.edworthy@renesas.com> Acked-by: NMarek Vasut <marek.vasut@gmail.com> Reviewed-by: NJagan Teki <jagan@openedev.com>
-
由 Phil Edworthy 提交于
Most of the code already uses #defines for the bit value, rather than the shift required to get the value. This changes the remaining code over. Whislt at it, fix the names of the "Rd Data Capture" register defs. Signed-off-by: NPhil Edworthy <phil.edworthy@renesas.com> Acked-by: NMarek Vasut <marek.vasut@gmail.com> Reviewed-by: NJagan Teki <jagan@openedev.com>
-
由 Phil Edworthy 提交于
Show what the output clock rate actually is. Signed-off-by: NPhil Edworthy <phil.edworthy@renesas.com> Acked-by: NMarek Vasut <marek.vasut@gmail.com> Reviewed-by: NJagan Teki <jagan@openedev.com>
-
由 Phil Edworthy 提交于
With the existing code, when the requested SPI clock rate is near to the lowest that can be achieved by the hardware (max divider of the ref clock is 32), the generated clock rate is wrong. For example, with a 50MHz ref clock, when asked for anything less than a 1.5MHz SPI clock, the code sets up the divider to generate 25MHz. This change fixes the calculation. Signed-off-by: NPhil Edworthy <phil.edworthy@renesas.com> Reviewed-by: NJagan Teki <jagan@openedev.com>
-
由 Phil Edworthy 提交于
Or'ing together bit positions is clearly wrong. Signed-off-by: NPhil Edworthy <phil.edworthy@renesas.com> Acked-by: NMarek Vasut <marek.vasut@gmail.com> Reviewed-by: NJagan Teki <jagan@openedev.com>
-
由 Simon Glass 提交于
At present an invalid bus width prints a message but does not return an error. This is the opposite of the correct behaviour. Adjust it to avoid code bloat in the common case, and avoid hard-to-debug failure in the uncommon case. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NJagan Teki <jagan@openedev.com>
-
由 Vignesh R 提交于
Unlike Linux kernel, U-Boot depends on "spi-flash" compatible to probe m25p80 spi-nor devices. Hence, add "spi-flash" compatible string to m25p80 node. Without this patch, flash device DT data is not parsed and QSPI operates in unsupported mode leading to data corruption. Signed-off-by: NVignesh R <vigneshr@ti.com> Reviewed-by: NJagan Teki <jagan@openedev.com>
-
由 Michal Simek 提交于
It depends on qemu v2.8.0-rc3 which includes device loader property. Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
- 13 12月, 2016 1 次提交
-
-
由 Lukasz Majewski 提交于
Despite I leave Samsung by the end of the year, I'm going to maintain DFU in u-boot. Signed-off-by: NLukasz Majewski <l.majewski@samsung.com>
-
- 12 12月, 2016 4 次提交
-
-
由 Lukasz Majewski 提交于
Since I leave Samsung by the end of the year, I will not have access to OneNAND devices anymore. Hence the custodian position has been marked as "Orphaned". Signed-off-by: NLukasz Majewski <l.majewski@samsung.com>
-
-
-
由 Konstantin Porotchkin 提交于
Enable hush parser in Armada-7040 and Armada-8040 DB default configurations. Signed-off-by: NKonstantin Porotchkin <kostap@marvell.com> Cc: Stefan Roese <sr@denx.de> Cc: Nadav Haklai <nadavh@marvell.com> Cc: Neta Zur Hershkovits <neta@marvell.com> Cc: Omri Itach <omrii@marvell.com> Cc: Igal Liberman <igall@marvell.com> Cc: Haim Boot <hayim@marvell.com> Cc: Hanna Hawa <hannah@marvell.com> Signed-off-by: NStefan Roese <sr@denx.de>
-