diff options
author | Michal Simek <michal.simek@xilinx.com> | 2020-04-27 12:26:31 +0300 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2020-06-25 11:08:04 +0300 |
commit | e20d88bffaa4292f2fec9e03eac91154429c6482 (patch) | |
tree | 0d901027fe6018bbc3f0239b8737fb05659c4dd3 /common | |
parent | 3ccea69fc495a8e6c529d6c647af4da3775dcb87 (diff) | |
download | u-boot-e20d88bffaa4292f2fec9e03eac91154429c6482.tar.xz |
xilinx: zynqmp: Enable pmufw config reloading
PMU FW has functionality to accept and reload configuration object at run
time. The patch is adding support for doing it via u-boot prompt.
For example:
tftpboot 100000 pmu_obj.bin
zynqmp pmufw 100000 $filesize
The most of pmufw configurations don't allow config reloading.
Also official Xilinx PMUFW doens't support this feature properly but the
patch should open a way to call PMUFW with this request.
Here is example of PMUFW config fragment which enables config reloading.
/* SET CONFIG SECTION */
PM_CONFIG_SET_CONFIG_SECTION_ID, /* Section ID */
PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK |
PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Permissions to set config */
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions