summaryrefslogtreecommitdiff
path: root/drivers/ddr/altera/sdram_agilex.c
diff options
context:
space:
mode:
authorqianfan Zhao <qianfanguijin@163.com>2022-05-14 11:19:23 +0800
committerAndre Przywara <andre.przywara@arm.com>2022-06-26 11:22:54 +0100
commit47ca7b574faaa514677457e23a7197c47b0b597c (patch)
treeb492619b4e75d8ca69242444a5eefe4c73c03eb8 /drivers/ddr/altera/sdram_agilex.c
parente008e5132f7e160320dcc0ffb8fe7fef5264aecd (diff)
sunxi: psci: Fix sunxi_power_switch on sun8i-r40 platform
linux system will die if we offline one of the cpu on R40 based board: eg: echo 0 > /sys/devices/system/cpu/cpu3/online The reason is that the R40 version of sunxi_cpu_set_power always passes 0 for the CPU number, so we turn off CPU0, regardless of what CPU the CPU_OFF request came for. Fix this by passing the proper CPU number, as there are proper power clamp registers for every of the four cores. Signed-off-by: qianfan Zhao <qianfanguijin@163.com> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'drivers/ddr/altera/sdram_agilex.c')
0 files changed, 0 insertions, 0 deletions