- 27 2月, 2021 1 次提交
-
-
https://gitlab.denx.de/u-boot/custodians/u-boot-stm由 Tom Rini 提交于
- Add USB host boot support in stm32mp1 config - Enable uefi related commands for STMicroelectronics STM32MP15 boards - Remove duplicate uart nodes in stm32mp15 device tree
-
- 26 2月, 2021 39 次提交
-
-
由 Ilias Apalodimas 提交于
The board can boot with UEFI. With the latest changes in U-Boot's EFI subsystem we also have support for EFI runtime variables, without SetVariable support. We can also store the EFI variables in a file on the ESP partition and preserve them across reboots. The env and efidebug commands are missing in order to configure EFI variables and the efibootmgr though. Since U-Boot's default config enables other EFI related commands (e.g bootefi), let's add the env related and efidebug commands and allow users to do that Signed-off-by: NIlias Apalodimas <ilias.apalodimas@linaro.org> Reviewed-by: NPatrick Delaunay <patrick.delaunay@foss.st.com>
-
由 Patrick Delaunay 提交于
Remove duplicated uart nodes introduced with commit 62f95af9 ("ARM: dts: stm32mp1: DT alignment with Linux kernel v5.9-rc4"), because the uart nodes wasn't correctly ordered in alphabetic order. Only cosmetic: the generated device tree don't change. Signed-off-by: NPatrick Delaunay <patrick.delaunay@foss.st.com> Reviewed-by: NPatrice Chotard <patrice.chotard@foss.st.com>
-
由 Marek Vasut 提交于
Add support for booting from USB pen drive, since USB host port is available on the STM32MP1. Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Patrice Chotard <patrice.chotard@foss.st.com> Cc: Patrick Delaunay <patrick.delaunay@foss.st.com> Reviewed-by: NPatrick Delaunay <patrick.delaunay@foss.st.com>
-
https://gitlab.denx.de/u-boot/custodians/u-boot-marvell由 Tom Rini 提交于
- turris_mox: Enhancements, mostlly defconfig changes (Pali) - pci-aardvark: Set Max Payload Size and Max Read Request Size to 512 bytes (Pali) - pci_mvebu: Minor cleanup and refactoring (Marek) - Upgrade A38x DDR3 training to version 14.0.0 (Marek)
-
-
-
由 Marek Behún 提交于
The code was processed with unifdef utility to omit portions not relevant to A38x and DDR3. This removes usage of many macros, including A70X0, A80X0 and A3900. It seems that the unifdef utility did not remove the macros from #else comment. Signed-off-by: NMarek Behún <marek.behun@nic.cz> Tested-by: NChris Packham <chris.packham@alliedtelesis.co.nz>
-
由 Marek Behún 提交于
Bump version of a38x DDR3 trianing to version 14.0.0 to reflect the version in the mv-ddr-devel branch of upstream repository https://github.com/MarvellEmbeddedProcessors/mv-ddr-marvell.git. There is a new version numbering system, where after 18.12.0 came 1.0.0, 2.0.0, and so on until 14.0.0. So 14.0.0 is newer than 18.12.0. Signed-off-by: NMarek Behún <marek.behun@nic.cz> Tested-by: NChris Packham <chris.packham@alliedtelesis.co.nz>
-
由 heaterC 提交于
commit 56db5d1464b44df10a02b99e615ebd6f6a35c428 upstream. @pali suggested this change In commit 6285efb ("mv_ddr: add support for twin-die combined memory device") was added support for twin-die combined memory device and default value for explicitly uninitialized structure members is zero, s also twin_die_combined is initialized to zero. Which means COMBINED value. As prior this commit there was no support for twin-die combined memory device, default value for twin_die_combined should be NOT_COMBINED. This change change order of enum mv_ddr_twin_die to ensure that NOT_COMBINED has value zero. Signed-off-by: NheaterC <airyguy@gmx.de> Signed-off-by: NMarek Behún <marek.behun@nic.cz> Tested-by: NChris Packham <chris.packham@alliedtelesis.co.nz>
-
由 Marek Behún 提交于
commit 2bdd12dd68b1f8e27a03a3443ae49a09a14c18e4 upstream. The commit mentioned above changes non-DDR3 stuff in upstream, but it also changes code in ddr3_training.c. Import this change to remain consistent with upstream. Signed-off-by: NMarek Behún <marek.behun@nic.cz> Tested-by: NChris Packham <chris.packham@alliedtelesis.co.nz>
-
由 Moti Buskila 提交于
commit c8b301463d508c807a33f7b7eaea98bbda4aa35e upstream. The funtion returnd cs size in byte instead of MB, that cause calculation error since the caller was expected to get u32 and when he got above 4G it refers it as 0. The fix was to get the cs memory size from function as in MB and then multiply it by 1MB. Signed-off-by: NMoti Buskila <motib@marvell.com> Reviewed-by: NKostya Porotchkin <kostap@marvell.com> Signed-off-by: NMarek Behún <marek.behun@nic.cz> Tested-by: NChris Packham <chris.packham@alliedtelesis.co.nz>
-
由 Marek Behún 提交于
commit d653b305d0b3da9727c49124683f1a6d95d5c9a5 upstream. The commit mentioned above changes non-DDR3 stuff in upstream, but it also changes header ddr_topology_def.h. Import this header change to remain consistent with upstream. Signed-off-by: NMarek Behún <marek.behun@nic.cz> Tested-by: NChris Packham <chris.packham@alliedtelesis.co.nz>
-
由 Moti Buskila 提交于
commit 20c89a28548cdab11f88d2ec8936344af0686a1e upstream. WL phase correcion stage is failing while using bus_width of 16bit, not to be fix this stage is un-necessary when working with bus_width of 16 bit. Signed-off-by: NMoti Buskila <motib@marvell.com> Reviewed-by: NKostya Porotchkin <kostap@marvell.com> Signed-off-by: NMarek Behún <marek.behun@nic.cz> Tested-by: NChris Packham <chris.packham@alliedtelesis.co.nz>
-
由 Moti Buskila 提交于
commit 6285efb8a118940877522c4c07bd7c64569b4f5f upstream. the twin-die combined memory device should be treatened as X8 device and not as X16 one Signed-off-by: NMoti Buskila <motib@marvell.com> Reviewed-by: NKostya Porotchkin <kostap@marvell.com> [ - the default value for twin_die_combined is set to NOT_COMBINED for all boards, as this was default behaviour prior this change ] Signed-off-by: NMarek Behún <marek.behun@nic.cz> Tested-by: NChris Packham <chris.packham@alliedtelesis.co.nz>
-
由 Moti Buskila 提交于
commit 994509eb4fe6771d92cd06314c37895098ac48fa upstream. Signed-off-by: NMoti Buskila <motib@marvell.com> Reviewed-by: NKostya Porotchkin <kostap@marvell.com> Signed-off-by: NMarek Behún <marek.behun@nic.cz> Tested-by: NChris Packham <chris.packham@alliedtelesis.co.nz>
-
由 Baruch Siach 提交于
commit 2d3b9437cf38c06c4330e0de07f29476197f5e04 upstream. The ODT enable heuristic based on active chip-selects is not always correct. Some board might use two chip-selects, but have only one ODT line connected. Allow board specific mv_ddr_topology_map to directly set the ODT configuration register value. Signed-off-by: NBaruch Siach <baruch@tkos.co.il> Reviewed-by: NMoti Buskila <motib@marvell.com> Reviewed-by: NNadav Haklai <Nadav.Haklai@cavium.com> Reviewed-by: NKostya Porotchkin <Kostya.Porotchkin@cavium.com> Signed-off-by: NMarek Behún <marek.behun@nic.cz> Tested-by: NChris Packham <chris.packham@alliedtelesis.co.nz>
-
由 Marek Behún 提交于
commit 3908e20c6c520339e9bddb566823ae5e065d5218 upstream. The commit mentioned above changes non-DDR3 stuff in upstream, but it also changes header ddr_topology_def.h. Import this header change to remain consistent with upstream. Signed-off-by: NMarek Behún <marek.behun@nic.cz> Tested-by: NChris Packham <chris.packham@alliedtelesis.co.nz>
-
由 Moti Buskila 提交于
commit ab9240402a70cc02496683971779e75eff410ab4 upstream. - function mv_ddr_spd_die_capacity_user_get() has a bug, since it insert a user memory enum to it, instead of SPD memory enum (which are different) - fix: remove mv_ddr_spd_die_capacity_user_get() function. - memory size with 64 and 32 bit already calculated correctly at mv_ddr_mem_sz_per_cs_get() function Signed-off-by: NMoti Buskila <motib@marvell.com> Reviewed-by: NStefan Chulski <Stefan.Chulski@cavium.com> Reviewed-by: NAlex Leibovich <alexl@marvell.com> Reviewed-by: NKostya Porotchkin <Kostya.Porotchkin@cavium.com> Signed-off-by: NMarek Behún <marek.behun@nic.cz> Tested-by: NChris Packham <chris.packham@alliedtelesis.co.nz>
-
由 Moti Buskila 提交于
commit 0b5adedd4ced9b8f528faad1957d4d69e95759ef upstream. Signed-off-by: NMoti Buskila <motib@marvell.com> Reviewed-by: NAlex Leibovich <alexl@marvell.com> Reviewed-by: NKostya Porotchkin <Kostya.Porotchkin@cavium.com> Signed-off-by: NMarek Behún <marek.behun@nic.cz> Tested-by: NChris Packham <chris.packham@alliedtelesis.co.nz>
-
由 Marek Behún 提交于
commit 6c705ebc0d70f67ed7cae83ad1978c3305ef25be upstream. The commit mentioned above changes non-DDR3 stuff in upstream, but it also changes header mv_ddr_topology.h. Import this header change to remain consistent with upstream. Signed-off-by: NMarek Behún <marek.behun@nic.cz> Tested-by: NChris Packham <chris.packham@alliedtelesis.co.nz>
-
由 Alex Leibovich 提交于
commit 61a8910998d7b553e80f600ebe8147a8b98f0945 upstream. Required changes made for 32bit ddr support. An update is made to the topology map, according to bus_act_mask, set in the dram_port.c Signed-off-by: NAlex Leibovich <alexl@marvell.com> Reviewed-by: NKostya Porotchkin <Kostya.Porotchkin@cavium.com> Signed-off-by: NMarek Behún <marek.behun@nic.cz> Tested-by: NChris Packham <chris.packham@alliedtelesis.co.nz>
-
由 Alex Leibovich 提交于
commit 32800667b375ebd1f82120da0f3479b1cf52d96d upstream. Required changes made for 32bit ddr support. An update is made to the topology map, according to bus_act_mask, set in the dram_port.c Signed-off-by: NAlex Leibovich <alexl@marvell.com> Reviewed-by: NNadav Haklai <Nadav.Haklai@cavium.com> Reviewed-by: NKostya Porotchkin <Kostya.Porotchkin@cavium.com> Signed-off-by: NMarek Behún <marek.behun@nic.cz> Tested-by: NChris Packham <chris.packham@alliedtelesis.co.nz>
-
由 Marek Behún 提交于
commit a165037ec26f301be75e1fabc263643683e85255 upstream. The commit mentioned above changes non-DDR3 stuff in upstream, but it also changes header ddr_topology_def.h. Import this header change to remain consistent with upstream. Signed-off-by: NMarek Behún <marek.behun@nic.cz> Tested-by: NChris Packham <chris.packham@alliedtelesis.co.nz>
-
由 Moti Buskila 提交于
commit ce62bef8fac559e27245259882e45f19cdc293ad upstream. - fix JIRA A7K8K-5056 - remove TEST_PATTERN write at the load patern stage earlier to WL SUP stage - the WL SUP stage already writes this pattern to the memory, if the pattern exist at the memory then the algorithm will fail, since it think that there are no phase to correct Signed-off-by: NMoti Buskila <motib@marvell.com> Reviewed-by: NKostya Porotchkin <kostap@marvell.com> Signed-off-by: NMarek Behún <marek.behun@nic.cz> Tested-by: NChris Packham <chris.packham@alliedtelesis.co.nz>
-
由 Marek Behún 提交于
The SPI NOR flash node name in main device tree for Turris Omnia is called `spi-nor@0`. Rename node spi-flash@0 in Turris Omnia's -u-boot.dtsi file to spi-nor@0 so that U-Boot does not try to probe the same SPI NOR device multiple times. Signed-off-by: NMarek Behún <marek.behun@nic.cz> Cc: Stefan Roese <sr@denx.de> Reviewed-by: NStefan Roese <sr@denx.de> Reviewed-by: NPali Rohár <pali@kernel.org>
-
由 Marek Behún 提交于
Linux displays the real PCIe card connected to a mvebu PCIe slot as device 0, not 1. This is done by setting local dev number to 1, so that the local "Marvell Memory controller" device is on address 1. Let's do it also in U-Boot. With this commit the pci command in U-Boot prints something like: => pci Scanning PCI devices on bus 0 BusDevFun VendorId DeviceId Device Class Sub-Class _____________________________________________________________ 00.00.00 0x168c 0x003c Network controller 0x80 Signed-off-by: NMarek Behún <marek.behun@nic.cz> Cc: Stefan Roese <sr@denx.de> Cc: Phil Sutter <phil@nwl.cc> Cc: Mario Six <mario.six@gdsys.cc> Cc: Baruch Siach <baruch@tkos.co.il> Reviewed-by: NStefan Roese <sr@denx.de>
-
由 Marek Behún 提交于
Refactor validation of bdf parameter in mvebu_pcie_read/write_config functions. We can simplify the code by putting the validation into separate function. Also there are always only two devices visible on local bus: * on slot configured by function mvebu_pcie_set_local_dev_nr() (by default this register is set to 0) there is a "Marvell Memory controller", which isn't useful in root complex mode, * on all other slots the real PCIe card connected to the PCIe slot. We can simplify the code even more by simply allowing access only to the real PCIe card. Signed-off-by: NMarek Behún <marek.behun@nic.cz> Cc: Stefan Roese <sr@denx.de> Cc: Phil Sutter <phil@nwl.cc> Cc: Mario Six <mario.six@gdsys.cc> Cc: Baruch Siach <baruch@tkos.co.il> Reviewed-by: NStefan Roese <sr@denx.de>
-
由 Marek Behún 提交于
Other drivers (aardvark, intel_fpga) print "(addr,size,val)" when debugging is enabled. Print size for pci_mvebu as well. Signed-off-by: NMarek Behún <marek.behun@nic.cz> Cc: Stefan Roese <sr@denx.de> Cc: Phil Sutter <phil@nwl.cc> Cc: Mario Six <mario.six@gdsys.cc> Cc: Baruch Siach <baruch@tkos.co.il> Reviewed-by: NStefan Roese <sr@denx.de>
-
由 Marek Behún 提交于
Write bdf address in a same way in mvebu_pcie_read/write_config. Signed-off-by: NMarek Behún <marek.behun@nic.cz> Cc: Stefan Roese <sr@denx.de> Cc: Phil Sutter <phil@nwl.cc> Cc: Mario Six <mario.six@gdsys.cc> Cc: Baruch Siach <baruch@tkos.co.il> Reviewed-by: NStefan Roese <sr@denx.de>
-
由 Marek Behún 提交于
PCI uclass maps PCI bus numbers to the seq member of struct udevice. Use dev_seq(dev) as the bus number in mvebu_pcie_probe instead of an incrementing a static variable. Signed-off-by: NMarek Behún <marek.behun@nic.cz> Cc: Stefan Roese <sr@denx.de> Cc: Phil Sutter <phil@nwl.cc> Cc: Mario Six <mario.six@gdsys.cc> Cc: Baruch Siach <baruch@tkos.co.il> Reviewed-by: NStefan Roese <sr@denx.de>
-
由 Marek Behún 提交于
NVMe drives can be connected to Turris MOX via MOX B and MOX G extensions. Signed-off-by: NMarek Behún <marek.behun@nic.cz> Reviewed-by: NMarek Behún <marek.behun@nic.cz> Reviewed-by: NStefan Roese <sr@denx.de>
-
由 Pali Rohár 提交于
USB devices can be connected to Turris MOX also via MOX F extension which contains VL805 PCIe based USB 3.0 controller. Signed-off-by: NPali Rohár <pali@kernel.org> Reviewed-by: NMarek Behún <marek.behun@nic.cz> Reviewed-by: NStefan Roese <sr@denx.de>
-
由 Pali Rohár 提交于
PCIe devices do not work in U-Boot without proper initialization and configuration of PCI config space like the PCI_BASE_ADDRESS_0 register. Signed-off-by: NPali Rohár <pali@kernel.org> Reviewed-by: NMarek Behún <marek.behun@nic.cz> Reviewed-by: NStefan Roese <sr@denx.de>
-
由 Pali Rohár 提交于
Fix usage of VL805 XHCI PCIe controller when it is connected via PCIe to Armada 3720 SOC. Without this U-Boot crashes when trying to access enumerated USB devices connected to this XHCI PCIe controller. This should be done according to the PCIe Link Initialization sequence, as defined in Marvell Armada 3720 Functional Specification. Linux has this code too. Signed-off-by: NPali Rohár <pali@kernel.org> Reviewed-by: NMarek Behún <marek.behun@nic.cz> Reviewed-by: NStefan Roese <sr@denx.de>
-
由 Tom Rini 提交于
- Remove various older platforms that are missing DM migrations and have had their removal ack'd.
-
由 Tom Rini 提交于
This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. As this is the last ARCH_MPC8569 board, remove that support as well. Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: NTom Rini <trini@konsulko.com> Reviewed-by: NPriyanka Jain <priyanka.jain@nxp.com>
-
由 Tom Rini 提交于
In the cases of T2080RDB_SECURE_BOOT, T2080RDB_SRIO_PCIE_BOOT, P2041RDB_SECURE_BOOT, P2041RDB_SRIO_PCIE_BOOT, P3041DS_SRIO_PCIE_BOOT and P4080DS_SRIO_PCIE_BOOT while some forms of the board have been migrated more fully to current build standards, these have not. Remove them. Cc: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: NTom Rini <trini@konsulko.com> Reviewed-by: NPriyanka Jain <priyanka.jain@nxp.com>
-
由 Tom Rini 提交于
This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Stefano Babic <sbabic@denx.de> Signed-off-by: NTom Rini <trini@konsulko.com> Acked-by: NStefano Babic <sbabic@denx.de>
-
由 Tom Rini 提交于
This board has not been converted to CONFIG_DM_MMC by the deadline. Remove it. Cc: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: NTom Rini <trini@konsulko.com> Reviewed-by: NFabio Estevam <festevam@gmail.com>
-