summaryrefslogtreecommitdiff
path: root/drivers/ddr/fsl/ddr2_dimm_params.c
diff options
context:
space:
mode:
authorPrasad Kummari <prasad.kummari@amd.com>2025-02-19 17:23:01 +0530
committerMichal Simek <michal.simek@amd.com>2025-04-16 13:42:06 +0200
commit926a72ba0438806a341cfe3a90683bc02d904e55 (patch)
treedb9a124b41b26b069553a655859a422e6ce60fa9 /drivers/ddr/fsl/ddr2_dimm_params.c
parent931d96b594e029ecde46475ca355da2efb3035b1 (diff)
xilinx: versal: add firmware access to CRP Boot mode register
Added extended support for retrieving the boot mode register via the firmware interface, which is preferred when U-Boot runs in EL2 and cannot directly access CRP registers via raw reads. Ideally, all secure registers should be accessed via xilinx_pm_request(). Introduced the secure zynqmp_pm_get_bootmode_reg() call, which uses xilinx_pm_request() to read the boot mode register. When CONFIG_ZYNQMP_FIRMWARE is enabled, the secure zynqmp_pm_get_bootmode_reg() call is used; otherwise, direct raw reads are performed in the case of mini U-Boot. Signed-off-by: Prasad Kummari <prasad.kummari@amd.com> Link: https://lore.kernel.org/r/20250219115301.3661036-1-prasad.kummari@amd.com Signed-off-by: Michal Simek <michal.simek@amd.com>
Diffstat (limited to 'drivers/ddr/fsl/ddr2_dimm_params.c')
0 files changed, 0 insertions, 0 deletions