| d49d7e7b | 01-Aug-2015 |
Varun Wadekar <vwadekar@nvidia.com> |
docs: fix the command to compile BL31 on Tegra
This patch fixes the command line used to compile BL31 on Tegra platforms.
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> |
| 2ee2c4f0 | 31-Jul-2015 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra132: set TZDRAM_BASE to 0xF5C00000
The TZDRAM base on the reference platform has been bumped up due to some BL2 memory cleanup. Platforms can also use a different TZDRAM base by setting TZDRAM_
Tegra132: set TZDRAM_BASE to 0xF5C00000
The TZDRAM base on the reference platform has been bumped up due to some BL2 memory cleanup. Platforms can also use a different TZDRAM base by setting TZDRAM_BASE=<value> in the build command line.
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 0bf1b022 | 31-Jul-2015 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra: retrieve BL32's bootargs from bl32_ep_info
This patch removes the bootargs pointer from the platform params structure. Instead the bootargs are passed by the BL2 in the bl32_ep_info struct wh
Tegra: retrieve BL32's bootargs from bl32_ep_info
This patch removes the bootargs pointer from the platform params structure. Instead the bootargs are passed by the BL2 in the bl32_ep_info struct which is a part of the EL3 params struct.
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| c9af52e1 | 28-Jul-2015 |
danh-arm <dan.handley@arm.com> |
Merge pull request #344 from vwadekar/tegra-mselect-restore-v2
Tegra210: enable WRAP to INCR burst type conversions |
| 42ca2d86 | 27-Jul-2015 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra210: enable WRAP to INCR burst type conversions
The Memory Select Switch Controller routes any CPU transactions to the appropriate slave depending on the transaction address. During system susp
Tegra210: enable WRAP to INCR burst type conversions
The Memory Select Switch Controller routes any CPU transactions to the appropriate slave depending on the transaction address. During system suspend, it loses all config settings and hence the CPU has to restore them during resume.
This patch restores the controller's settings for enabling WRAP to INCR burst type conversions on the master ports, for any incoming requests from the AXI slave ports.
Tested by performing multiple system suspend cycles.
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| fcee3b00 | 24-Jul-2015 |
danh-arm <dan.handley@arm.com> |
Merge pull request #342 from vwadekar/tlkd-delete-need-bl32-v1
tlkd: delete 'NEED_BL32' build variable |
| 458c3c13 | 24-Jul-2015 |
Varun Wadekar <vwadekar@nvidia.com> |
tlkd: delete 'NEED_BL32' build variable
Remove the 'NEED_BL32' flag from the makefile. TLK compiles using a completely different build system and is present on the device as a binary blob. The NEED_
tlkd: delete 'NEED_BL32' build variable
Remove the 'NEED_BL32' flag from the makefile. TLK compiles using a completely different build system and is present on the device as a binary blob. The NEED_BL32 flag does not influence the TLK load/boot sequence at all. Moreover, it expects that TLK binary be present on the host before we can compile BL31 support for Tegra.
This patch removes the flag from the makefile and thus decouples both the build systems.
Tested by booting TLK without the NEED_BL32 flag.
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 7d4479a3 | 24-Jul-2015 |
danh-arm <dan.handley@arm.com> |
Merge pull request #341 from vwadekar/tegra-denver-plat-support-v3
Tegra denver plat support v3 |
| 1f95e28c | 21-Jul-2015 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra: modify 'BUILD_PLAT' to point to soc specific build dirs
This patch modifies the 'BUILD_PLAT' makefile variable to point to the soc specific build directory in order to allow each Tegra soc to
Tegra: modify 'BUILD_PLAT' to point to soc specific build dirs
This patch modifies the 'BUILD_PLAT' makefile variable to point to the soc specific build directory in order to allow each Tegra soc to have its own build directory. This way we can keep the build outputs separate and can keep multiple soc specific builds alive at the same time.
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| e7d4caa2 | 16-Jul-2015 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra: Support for Tegra's T132 platforms
This patch implements support for T132 (Denver CPU) based Tegra platforms.
The following features have been added:
* SiP calls to switch T132 CPU's AARCH
Tegra: Support for Tegra's T132 platforms
This patch implements support for T132 (Denver CPU) based Tegra platforms.
The following features have been added:
* SiP calls to switch T132 CPU's AARCH mode * Complete PSCI support, including 'System Suspend' * Platform specific MMIO settings * Locking of CPU vector registers
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 3a8c55f6 | 14-Jul-2015 |
Varun Wadekar <vwadekar@nvidia.com> |
Add "Project Denver" CPU support
Denver is NVIDIA's own custom-designed, 64-bit, dual-core CPU which is fully ARMv8 architecture compatible. Each of the two Denver cores implements a 7-way supersca
Add "Project Denver" CPU support
Denver is NVIDIA's own custom-designed, 64-bit, dual-core CPU which is fully ARMv8 architecture compatible. Each of the two Denver cores implements a 7-way superscalar microarchitecture (up to 7 concurrent micro-ops can be executed per clock), and includes a 128KB 4-way L1 instruction cache, a 64KB 4-way L1 data cache, and a 2MB 16-way L2 cache, which services both cores.
Denver implements an innovative process called Dynamic Code Optimization, which optimizes frequently used software routines at runtime into dense, highly tuned microcode-equivalent routines. These are stored in a dedicated, 128MB main-memory-based optimization cache. After being read into the instruction cache, the optimized micro-ops are executed, re-fetched and executed from the instruction cache as long as needed and capacity allows.
Effectively, this reduces the need to re-optimize the software routines. Instead of using hardware to extract the instruction-level parallelism (ILP) inherent in the code, Denver extracts the ILP once via software techniques, and then executes those routines repeatedly, thus amortizing the cost of ILP extraction over the many execution instances.
Denver also features new low latency power-state transitions, in addition to extensive power-gating and dynamic voltage and clock scaling based on workloads.
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 93eafbca | 23-Jul-2015 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra: implement per-SoC validate_power_state() handler
The validate_power_state() handler checks the power_state for a valid afflvl and state id. Although the afflvl check is common, the state ids
Tegra: implement per-SoC validate_power_state() handler
The validate_power_state() handler checks the power_state for a valid afflvl and state id. Although the afflvl check is common, the state ids are implementation defined.
This patch moves the handler to the tegra/soc folder to allow each SoC to validate the power_state for supported parameters.
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| fb11a62f | 21-Jul-2015 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra: T210: include CPU files from SoC's platform.mk
This patch moves the inclusion of CPU code (A53, A57) to T210's makefile. This way we can reduce code size for Tegra platforms by including only
Tegra: T210: include CPU files from SoC's platform.mk
This patch moves the inclusion of CPU code (A53, A57) to T210's makefile. This way we can reduce code size for Tegra platforms by including only the required CPU files.
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 53d069c2 | 17-Jul-2015 |
danh-arm <dan.handley@arm.com> |
Merge pull request #337 from vwadekar/tegra-misc-fixes-v3
Tegra misc fixes v3 |
| 8061a973 | 16-Jul-2015 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra: Introduce config for enabling NS access to L2/CPUECTRL regs
A new config, ENABLE_NS_L2_CPUECTRL_RW_ACCESS, allows Tegra platforms to enable read/write access to the L2 and CPUECTRL registers.
Tegra: Introduce config for enabling NS access to L2/CPUECTRL regs
A new config, ENABLE_NS_L2_CPUECTRL_RW_ACCESS, allows Tegra platforms to enable read/write access to the L2 and CPUECTRL registers. T210 is the only platform that needs to enable this config for now.
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| e5b0664c | 16-Jul-2015 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra210: lock PMC registers holding CPU vector addresses
This patch locks access to the PMC registers which hold the CPU reset vector addresses. The PMC registers are used by the warmboot code and
Tegra210: lock PMC registers holding CPU vector addresses
This patch locks access to the PMC registers which hold the CPU reset vector addresses. The PMC registers are used by the warmboot code and must be locked during boot/resume to avoid booting into custom firmware installed by unknown parties e.g. hackers.
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 764c57f6 | 16-Jul-2015 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra: PMC: lock SCRATCH22 register
The PMC Scratch22 register contains the CPU reset vector to be used by the warmboot code to power up the CPU while resuming from system suspend. This patch locks
Tegra: PMC: lock SCRATCH22 register
The PMC Scratch22 register contains the CPU reset vector to be used by the warmboot code to power up the CPU while resuming from system suspend. This patch locks this PMC register to avoid any further writes.
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 2e7aea3d | 16-Jul-2015 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra: PMC: check if a CPU is already online
This patch checks if the target CPU is already online before proceeding with it's power ON sequence.
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> |
| 03cd23a1 | 08-Jul-2015 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra210: deassert CPU reset signals during power on
This patch de-asserts the CPU reset signals for each CPU as part of it's power on sequence. This is needed to get rid of the wait in BPMP firmwar
Tegra210: deassert CPU reset signals during power on
This patch de-asserts the CPU reset signals for each CPU as part of it's power on sequence. This is needed to get rid of the wait in BPMP firmware during SC7 exit.
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| 6a367fd1 | 08-Jul-2015 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra: Fix the delay loop used during SC7 exit
This patch fixes the delay loop used to wake up the BPMP during SC7 exit. The earlier loop would fail just when the timer was about to wrap-around (e.g
Tegra: Fix the delay loop used during SC7 exit
This patch fixes the delay loop used to wake up the BPMP during SC7 exit. The earlier loop would fail just when the timer was about to wrap-around (e.g. when TEGRA_TMRUS_BASE is 0xfffffffe, the target value becomes 0, which would cause the loop to exit before it's expiry).
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| c8961326 | 16-Jul-2015 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra: introduce delay timer support
This patch introduces the backend required for implementing the delay timer API. Tegra has an on-chip free flowing us timer which can be used as the delay timer.
Tegra: introduce delay timer support
This patch introduces the backend required for implementing the delay timer API. Tegra has an on-chip free flowing us timer which can be used as the delay timer.
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|
| ba06cf1b | 17-Jul-2015 |
danh-arm <dan.handley@arm.com> |
Merge pull request #336 from danh-arm/sb/move-user-guide-to-linaro-release
Update user guide to use Linaro releases |
| 6058ee6a | 17-Jul-2015 |
danh-arm <dan.handley@arm.com> |
Merge pull request #335 from jcastillo-arm/jc/sh_write
Fix bug in semihosting write function |
| 1f06ca8a | 17-Jul-2015 |
danh-arm <dan.handley@arm.com> |
Merge pull request #332 from jcastillo-arm/jc/tf-issues/214
Use uintptr_t as base address type in ARM driver APIs |
| 68e2a641 | 08-Jul-2015 |
Varun Wadekar <vwadekar@nvidia.com> |
Tegra: Exclude coherent memory region from memory map
This patch sets the 'USE_COHERENT_MEM' flag to '0', so that the coherent memory region will not be included in the memory map.
Signed-off-by: V
Tegra: Exclude coherent memory region from memory map
This patch sets the 'USE_COHERENT_MEM' flag to '0', so that the coherent memory region will not be included in the memory map.
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
show more ...
|