- Oct 08, 2019
-
-
Michal Simek authored
There is no reason to use private code for standard bootm command. Current implementation is also broken and don't support image relocation properly. Switching to generic bootm implementation is fixing these issues. cmdline and bdt bootm subcommands are returning -1 because they are not implemented. Similar change was done long time ago by for example commit 2bb5b638 ("MIPS: bootm: rework and fix broken bootm code") Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
arch_lmb_reserve() protects U-Boot relocated code with stack not to be used for image relocation. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Microblaze as Arm is using multiple memory banks which are read from DT that's why there is a need to initialized LMB based on bd->bi_dram[]. Without this fix memory base/size is all the time 0 and image relocation is not possible. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
It is common for the whole architecture that's why move it there. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
This variable is completely unused that's why remove it. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
All boards are using the same prompt that's why add it as default value to Kconfig to simplify defconfigs. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Reviewed-by:
Luca Ceresoli <luca@lucaceresoli.net>
-
Michal Simek authored
All boards are using the same prompt that's why add it as default value to Kconfig to simplify defconfigs. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
CONFIG_SYS_BOOT_RAMDISK_HIGH is already defined in arch/arm/include/asm/config.h:10:#define CONFIG_SYS_BOOT_RAMDISK_HIGH that's why there is no reason to define it again in board file. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Similar to processor board but i2c structure is completely different. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Similar SCs but different wiring. - dc_i2c is connected to X-PRC cards that's why label is required to have an option to hook up some devices. - Exactly identify i2c devices on x-prc boards. In case of missing i2c connection devices won't be accessible. - USB 0 should be device mode with super speed. - USB 1 should be host mode. - Fix i2c mux reset pin entry - commented, not verified. - Fix i2c1 eeprom compatible string - it is an ST 128Kbit device. Need to use atmel fallback. - Fix si570 I2C slave address and add corresponding part numbers. - Enable AMS for system monitoring. - phy reset property should be commented because it will throw a warning dump when called from context that can sleep. No support for phys property (zynqmp phy driver) with SGMII. Add is-internal-pcspma property required by uboot. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Signed-off-by:
Harini Katakam <harini.katakam@xilinx.com>
-
Michal Simek authored
Add generic configuration for a2197-p/-m/-g boards. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Siva Durga Prasad Paladugu authored
This patch assings the phynode pointer to the phydev node as it is needed later in the corresponding phy driver to read phy properties from DT. Signed-off-by:
Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Ashok Reddy Soma authored
This patch fixes zynq_gpio_direction() to call driver specific zynq_gpio_set_value function rather than top level gpio_set_value. Signed-off-by:
Ashok Reddy Soma <ashok.reddy.soma@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Siva Durga Prasad Paladugu authored
The PSCI_RESET and EXPERT are not needed for mini configurations so remove them to save space. Signed-off-by:
Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Siva Durga Prasad Paladugu authored
This patch enable fatwrite support for mini emmc configurations. Signed-off-by:
Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
-
T Karthik Reddy authored
This patch adds default offset & sector size values for environment variables to save in qspi/ospi flash for versal. Signed-off-by:
T Karthik Reddy <t.karthik.reddy@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
T Karthik Reddy authored
Phy setup should be done before dwc3 soft core reset as it is done in linux & this fixes unreliable detection of usb cable on host side. Signed-off-by:
T Karthik Reddy <t.karthik.reddy@xilinx.com> Signed-off-by:
Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
T Karthik Reddy authored
This patch enables 2 nand chips support for zynqmp mini nand Signed-off-by:
T Karthik Reddy <t.karthik.reddy@xilinx.com> Signed-off-by:
Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
T Karthik Reddy authored
Devicetree bindings are already specified in Linux kernel documentation. Instead of maintaining same dt bindings in U-Boot doc specify path to dt bindings in Linux kernel & documenting specific changes that are in U-Boot. Signed-off-by:
T Karthik Reddy <t.karthik.reddy@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com> Tested-by:
Bin Meng <bmeng.cn@gmail.com>
-
Siva Durga Prasad Paladugu authored
The zynq_sdhci drivers depends on DM_MMC in Kconfig so no need to check for DM_MMC in the driver so this patch removes it. Signed-off-by:
Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Change has been done across the whole tree only zynqmp-mini-qspi hasn't been fixed. Origin changed done by commit ffd4c7c2 ("dts: switch spi-flash to jedec, spi-nor compatible") Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Siva Durga Prasad Paladugu authored
This patch adds support for gmiitorgmii converter. This converter sits between the MAC and the external phy MAC <==> GMII2RGMII <==> RGMII_PHY. The ethernet driver probes this bridge and this bridge driver probes real phy driver and invokes the real phy functionalities as requested. This bridge just needs to be configured based on real phy negotiated speed and duplex. Signed-off-by:
Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
All platforms have been moved to distro boot that's why remove the rest of configurations to have unified boot flow. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Follow conventions and used {} around variables. Fixes: 90e97ab3 ("arm: zynq: Define distro boot commnads for qspi, nand and nor") Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
There are two typos in this command that's why it couldn't work properly. This bootmode is almost unused from the beggining on this SoC. Fixes: 90e97ab3 ("arm: zynq: Define distro boot commnads for qspi, nand and nor") Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Xilinx Zynq SoC has two usb controllers and both could be used as secondary boot method. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Xilinx Zynq SoC has two sdhci controllers but boot is only possible from the first one. That's why there is a need to specify controller number. mmc1 is supposed to be secondary boot device and should be also listed in distribution boot. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Siva Durga Prasad Paladugu authored
This patch define init routine for generic phy driver and registers it using phy_register as this generic phy driver also needs to be relocated incase of manual reloc. Signed-off-by:
Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Vipul Kumar authored
This patch added alias for usb node in dts file. Signed-off-by:
Vipul Kumar <vipul.kumar@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Use model property to distinguish different configurations. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Siva Durga Prasad Paladugu authored
Add zu48dr and zu49dr to the list of zynqmp devices. The zu48dr and zu49dr are the new RFSoC silicons with id values of 0x7b and 0x7e. Signed-off-by:
Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Ashok Reddy Soma authored
This patch reduces the console buffer size from 2048 to 1024, thus fixes OCM overwriting issue. Differences are in bss section as is shown from output: xilinx_versal_mini: all -2056 bss -2048 text -8 u-boot: add: 0/0, grow: 0/-3 bytes: 0/-2056 (-2056) function old new delta cli_simple_run_command 340 332 -8 static.lastcommand 2049 1025 -1024 console_buffer 2049 1025 -1024 Better would be to use PPU RAM but this change is also aligned with changes done in ZynqMP mini configurations. Signed-off-by:
Ashok Reddy Soma <ashok.reddy.soma@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
ZynqMP and Versal is using 2k that's why aligned all platform together to be able to use the same scripts. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Siva Durga Prasad Paladugu authored
Increase init ram size by 4K such that more stack space will be available during initialization as the present stackspace is not sufficient if DEBUG option is enabled and causes system hang. Increasing init ram size provides sufficient stack space during init even if DEBUG enabled and solves the hang issue. Signed-off-by:
Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
This option is disable in Xilinx tree for quite a long time that's why let's disable it in mainline. If there is anybody who requires this options then it should be moved to Kconfig first and should be removed from this config. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
No reason to define new_buf again. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Siva Durga Prasad Paladugu authored
This patch moves CONFIG_ZYNQ_HISPD_BROKEN to Kconfig Signed-off-by:
Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Siva Durga Prasad Paladugu authored
This patch removes check for Versal platform in gem driver as it now supports clock setting through clock framework. Signed-off-by:
Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Siva Durga Prasad Paladugu authored
This patch adds clock driver support for Versal platform. The clock driver queries and performs clock operations using PLM firmware by communicating with it using SMC calls. Signed-off-by:
Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Siva Durga Prasad Paladugu authored
This patch adds new versal compatible string to GEM driver for Versal platform. Signed-off-by:
Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-