- 26 8月, 2021 1 次提交
-
-
由 T Karthik Reddy 提交于
soc_xilinx_zynqmp driver allows identification of family & revision of zynqmp SoC. This driver is selected by CONFIG_SOC_XILINX_ZYNQMP. Add this config to xilinx_zynqmp_virt_defconfig file. Probe this driver using platdata U_BOOT_DEVICE structure which is specified in mach-zynqmp/cpu.c. Signed-off-by: NT Karthik Reddy <t.karthik.reddy@xilinx.com> Reviewed-by: NAshok Reddy Soma <ashok.reddy.soma@xilinx.com> Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
- 03 2月, 2021 1 次提交
-
-
由 Simon Glass 提交于
Move this out of the common header and include it only where needed. In a number of cases this requires adding "struct udevice;" to avoid adding another large header or in other cases replacing / adding missing header files that had been pulled in, very indirectly. Finally, we have a few cases where we did not need to include <asm/global_data.h> at all, so remove that include. Signed-off-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NTom Rini <trini@konsulko.com>
-
- 19 5月, 2020 2 次提交
-
-
由 Simon Glass 提交于
Move this uncommon header out of the common header. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Move this header out of the common header. Network support is used in quite a few places but it still does not warrant blanket inclusion. Note that this net.h header itself has quite a lot in it. It could be split into the driver-mode support, functions, structures, checksumming, etc. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 25 4月, 2020 1 次提交
-
-
由 Ovidiu Panait 提交于
As a preparation for turning reserve_mmu into an arch-specific variant, introduce arm_reserve_mmu on ARM. It implements the default routine for reserving memory for MMU TLB and needs to be weakly defined in order to allow for machines to override it. Without this decoupling, after introducing arch_reserve_mmu, there would be two weak definitions for it, one in common/board_f.c and one in arch/arm/lib/cache.c. Signed-off-by: NOvidiu Panait <ovpanait@gmail.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
- 25 1月, 2020 1 次提交
-
-
由 Simon Glass 提交于
This function related to timer and most of the timer functions are in time.h, so move this function there. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 18 1月, 2020 1 次提交
-
-
由 Simon Glass 提交于
This function related to timer and most of the timer functions are in time.h, so move this function there. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 24 10月, 2019 2 次提交
-
-
由 Michal Simek 提交于
Remove macros which use PM_SIP_SVC offset and convert invoke_smc() to xilinx_pm_request() which do calculation with PM_SIP_SVC already. Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
由 Michal Simek 提交于
versal_pm_request() and invoke_smc() are almost the same. Only one difference is that versal_pm_request is adding PM_SIP_SVC offset to api_id. The patch is moving platform implementation to firmware driver code for synchronization. Signed-off-by: NMichal Simek <michal.simek@xilinx.com> Reviewed-by: NLuca Ceresoli <luca@lucaceresoli.net>
-
- 08 10月, 2019 2 次提交
-
-
由 Ibai Erkiaga 提交于
Removes the old function to get the firmware version. Signed-off-by: NIbai Erkiaga <ibai.erkiaga-elorza@xilinx.com> Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
由 Ibai Erkiaga 提交于
New firmware header to place firmware specific macro and function declarations. The patch also moves the macros defining PM operations as well as some helper macros. Signed-off-by: NIbai Erkiaga <ibai.erkiaga-elorza@xilinx.com> Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
- 24 1月, 2019 2 次提交
-
-
由 Michal Simek 提交于
Similar changes was done for Zynq in past and this patch just follow this pattern to separate cpu code from SoC code. Move arch/arm/cpu/armv8/zynqmp/* -> arch/arm/mach-zynqmp/* And also fix references to these files. Based on "ARM: zynq: move SoC sources to mach-zynq" (sha1: 0107f240) Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
由 Michal Simek 提交于
There is hard dependency for CLK_ZYNQMP to have zynqmp_pmufw_version() but also FPGA code is calling this function which is possible to use without actual CLK_ZYNQMP firmware driver to be enabled. This patch enables the case where only fixed-clock CLK setup is used. Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
- 16 10月, 2018 2 次提交
-
-
This patch adds new zynqmp command "zynqmp tcminit mode" to initialize TCM. TCM needs to be initialized before accessing to avoid ECC errors. This new command helps to perform the same. It also makes tcm_init() as global and uses it for doing the TCM initialization. Signed-off-by: NSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
This patch moves TCM initialization to a separate routine to make it modular and can be reused if required. It also prints warning message now as it writes to TCM. Signed-off-by: NSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
- 26 9月, 2018 2 次提交
-
-
Modify the zynqmp_pmufw_version() routine to return PMUFW version so that it can be reused wherever required. Get PMUFW version from PMU only once at bootup and later just return stored value. Signed-off-by: NSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
This patch moves the PM version related macros to .h file so that they can be reused in other files. Signed-off-by: NSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
- 15 6月, 2018 1 次提交
-
-
由 Michal Simek 提交于
There should be return value check from zynqmp_mmio_read() in zynqmp_mmio_rawwrite() to make sure that errors are propagated properly. Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
- 31 5月, 2018 2 次提交
-
-
由 Rajan Vaja 提交于
Existing EEMI version is to as 1.0 (available from xilinx v2018.1 version). Update required API version to match with EEMI API version. New PMUFW version is required for operations with programmable logic. Signed-off-by: NRajan Vaja <rajanv@xilinx.com> Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
由 Michal Simek 提交于
ZynqMP emulation platforms are no longer tested and supported that's why remove macros and code around. Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
- 11 5月, 2018 1 次提交
-
-
由 Nitin Jain 提交于
This patch fills the MMU map for DDR at run time based on information read from Device Tree or automatically detected from static configuration. The patch is needed because for systems which has for example 1GB of memory but MMU map is 2GB there could be spurious accesses which was seen in past when mapping is not fitting with actual memory installed. Signed-off-by: NNitin Jain <nitin.jain@xilinx.com> Signed-off-by: NSiva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
- 07 5月, 2018 1 次提交
-
-
由 Tom Rini 提交于
When U-Boot started using SPDX tags we were among the early adopters and there weren't a lot of other examples to borrow from. So we picked the area of the file that usually had a full license text and replaced it with an appropriate SPDX-License-Identifier: entry. Since then, the Linux Kernel has adopted SPDX tags and they place it as the very first line in a file (except where shebangs are used, then it's second line) and with slightly different comment styles than us. In part due to community overlap, in part due to better tag visibility and in part for other minor reasons, switch over to that style. This commit changes all instances where we have a single declared license in the tag as both the before and after are identical in tag contents. There's also a few places where I found we did not have a tag and have introduced one. Signed-off-by: NTom Rini <trini@konsulko.com>
-
- 23 3月, 2018 1 次提交
-
-
由 Michal Simek 提交于
As of now newer pmufw is keeping old interfaces. That's why permit u-boot to run on newer version. Recommended version will be setup later. Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
- 30 1月, 2018 2 次提交
-
-
DDR less systems are possible for configuration like mini qspi and making DDR region as normal memory may cause speculative access which results u-boot hang if DDR is absent. So, this patch fixes the issue by not making DDR memory region entry into MMU table. Future solution is to prepare MMU table per memory node in dts instead of hard code DDR addresses. Signed-off-by: NSiva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
由 Anders Hedlund 提交于
Set the 8GB PCIe High area as device memory. Also extend the DDR High area to cover the full 32GB range. Signed-off-by: NAnders Hedlund <anders.j.hedlund@gmail.com> Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
- 28 11月, 2017 2 次提交
-
-
This patch provides a Kconfig option to use specified memory for MMU table using reserve_mmu platform specific routine. Here we used TCM space for MMU table. Signed-off-by: NSiva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
由 Heinrich Schuchardt 提交于
In if (a || b) else if (!a) the constraint (!a) is always true if else is reached and can be removed. Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
- 02 8月, 2017 2 次提交
-
-
This patch removes ifdef around mmio read and write rotuines and make them a single routine by checking the current el. This patch helps to remove ifdef around invoke_smc as well. Signed-off-by: NSiva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
This patch provides an option to include OCM and TCM memory into MMU table with corresponding memory attributes. Signed-off-by: NSiva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
- 20 6月, 2017 3 次提交
-
-
由 Michal Simek 提交于
If PMUFW version is not v0.3 then panic. ZynqMP switch to CCF based clock driver which requires PMUFW to be present at certain version. This patch ensure that you use correct and tested PMUFW binary. Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
Define routines of mmio write and read functionalities for zynqmp platform. Also do not call SMC from SPL because SPL is running before ATF in EL3 that's why SMCs can't be called because there is nothing to call. zynqmp_mmio*() are doing direct read/write accesses and this patch does the same. PMUFW is up and running at this time and there is a way to talk to pmufw via IPI but there is no reason to implement IPI stuff in SPL if we need just simple read for getting clock driver to work. Also make invoke_smc as global so that it can be reused in multile places where ever possible. Signed-off-by: NSiva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
由 Michal Simek 提交于
When OCM or TCM is protected this mapping still exist and it is causing access violation. Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
- 16 7月, 2016 1 次提交
-
-
由 York Sun 提交于
Introduce virtual and physical addresses in the mapping table. This change have no impact on existing boards because they all use idential mapping. Signed-off-by: NYork Sun <york.sun@nxp.com>
-
- 06 6月, 2016 1 次提交
-
-
由 Michal Simek 提交于
0xc000 is not sufficient page table size if dc4 with 4 gems is enabled. Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
- 16 3月, 2016 1 次提交
-
-
由 Alexander Graf 提交于
Now that we have nice table driven page table creating code that gives us everything we need, move to that. Signed-off-by: NAlexander Graf <agraf@suse.de>
-
- 27 1月, 2016 2 次提交
-
-
由 Michal Simek 提交于
Add basic configuration for the first silicon. Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
由 Michal Simek 提交于
Remove SECURE_IOU option which is not needed. U-Boot itself can detect which EL level it is on and based on that use do platform setup. It also simplify usage because one Kconfig entry is gone. Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
- 19 8月, 2015 1 次提交
-
-
由 Michal Simek 提交于
Based on the patch: "armv8: caches: Added routine to set non cacheable region" (sha1: dad17fd5) it is necessary to add platform specific hook. Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
- 29 4月, 2015 2 次提交
-
-
由 Michal Simek 提交于
Add support for Veloce - zynqmp emulation platform. Platform doesn't support SDHCI. Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
Define the mmu table till 2MB granularity enable dcaches for zynqmp. Signed-off-by: NSiva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-