u-boot/arch/arm
Bibek Basu 3cc7942a4a ARM: tegra: implement RAM repair
RAM repair has a few pre-requisites:
1) PMIC power supply (rail) enabled.
2) PMC CRAIL power partition powered.
3) Fuse clock active (it's the default).
4) PLLP reshift branch enabled (it's the default, when PLLP is active).

RAM repair also only need run whenever specific partitions are powered
(main SoC and CCPLEX respectively); RAM repair does not need to be
triggered when any other partition changes state.

start_cpu() needs to be re-ordered slightly to match these requirements.
Note that C0NC and CE0 aren't required for RAM repair to
operate, but they also do no harm, so the entire of powerup_cpus() is
moved rather than splitting it up. The call to remove_cpu_resets() is
moved last to ensure that all other actions complete before releasing
reset; since the PMC power partitions are now enabled early, releasing
reset is what causes the CPUs to start executing code, and RAM repair must
complete before the CPU boots.

Note that this commit is the result of squashing a numbmer of commits
in NVIDIA's downstream L4T branch, hence the multiple signoffs below.

Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Signed-off-by: Sandipan Patra <spatra@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
2018-07-26 13:15:29 -07:00
..
cpu ARM: PSCI: initialize stack pointer on secondary CPUs 2018-07-23 10:53:12 +02:00
dts ARM: dts: socfpga: Adjust NAND register layout on Arria10 2018-07-25 00:13:32 +02:00
include ARM: tegra: implement RAM repair 2018-07-26 13:15:29 -07:00
lib arm: Remove unused _relocate arguments 2018-07-19 16:31:36 -04:00
mach-aspeed regmap: change regmap_init_mem() to take ofnode instead udevice 2018-05-07 15:49:51 -04:00
mach-at91 board/aries: Remove 2018-07-02 15:52:50 -04:00
mach-bcm283x efi_loader: Convert runtime reset from switch to if statements 2018-06-14 10:52:14 +02:00
mach-bcmstb board: arm: Add support for Broadcom BCM7445 2018-07-10 16:55:57 -04:00
mach-davinci dm: gpio: Add DM compatibility to GPIO driver for Davinci 2018-06-18 14:43:12 -04:00
mach-exynos arm: v7: Kconfig: Rename CPU_V7 as CPU_V7A 2018-05-07 15:53:24 -04:00
mach-highbank SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mach-imx imx: i.mx6q: imx6q_logic: Migrate to SPL and enable SDP 2018-07-23 11:03:20 +02:00
mach-integrator env: Convert CONFIG_ENV_IS_IN... to a choice 2017-08-15 20:50:01 -04:00
mach-keystone SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mach-kirkwood ARM: add SBx81LIFKW board 2018-06-05 07:29:09 +02:00
mach-meson boards: amlogic: Fix boards README 2018-07-19 16:31:36 -04:00
mach-mvebu lib: fdtdec: Rename routine fdtdec_setup_memory_size() 2018-07-19 10:49:56 +02:00
mach-omap2 ARM: mach-omap2: omap3/am335x: Enable ACR::IBE on Cortex-A8 SoCs for CVE-2017-5715 2018-06-29 11:30:39 -04:00
mach-orion5x ARM: orion5x: fix use of callee-saved registers in lowloevel_init 2018-06-07 09:12:26 -04:00
mach-owl board: Add uCRobotics Bubblegum-96 board support 2018-07-09 15:25:23 -04:00
mach-qemu arm: v7: Kconfig: Rename CPU_V7 as CPU_V7A 2018-05-07 15:53:24 -04:00
mach-rmobile ARM: rmobile: gen2: Enable ACTLR[0] (Enable invalidates of BTB) to facilitate CVE_2017-5715 WA in OS 2018-07-25 00:14:19 +02:00
mach-rockchip rockchip: veyron: Set vcc33_sd regulator value 2018-07-21 01:55:27 +02:00
mach-s5pc1xx SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mach-snapdragon mach-snapdragon: increase size of malloc pool 2018-05-29 11:01:37 -04:00
mach-socfpga ARM: socfpga: Init missing security policies on A10 2018-07-25 00:13:32 +02:00
mach-sti board: Add STMicroelectronics STiH410-B2260 support 2017-03-14 20:40:21 -04:00
mach-stm32 mach-stm32: Rename CONFIG_SPL_RESET_SUPPORT to CONFIG_SPL_DM_RESET 2018-07-13 14:47:29 -04:00
mach-stm32mp stm32mp1: activate MISC support in SPL 2018-07-20 15:55:05 -04:00
mach-sunxi dm: sunxi: Use DM for MMC and SATA on all A10 boards 2018-07-16 12:26:00 +05:30
mach-tegra ARM: tegra: implement RAM repair 2018-07-26 13:15:29 -07:00
mach-uniphier ARM: uniphier: enable distro boot 2018-07-25 08:47:53 +09:00
mach-versatile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mach-zynq arm: zynq: spl: fix FPGA initialization 2018-07-19 10:49:57 +02:00
mach-zynqmp-r5 arm: zynqmp: Add ZynqMP minimal R5 support 2018-05-11 09:38:23 +02:00
thumb1/include/asm/proc-armv SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
config.mk SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Kconfig Merge branch 'master' of git://git.denx.de/u-boot-socfpga 2018-07-26 11:43:26 -04:00
Kconfig.debug
Makefile board: arm: Add support for Broadcom BCM7445 2018-07-10 16:55:57 -04:00