diff options
author | Padmarao Begari <padmarao.begari@amd.com> | 2024-11-04 17:57:50 +0530 |
---|---|---|
committer | Michal Simek <michal.simek@amd.com> | 2024-11-15 14:32:47 +0100 |
commit | b872583df10416d437ac18df6ad5c4095806c949 (patch) | |
tree | 0ac35c37b19b5ecdaf816c8bbedbfbb80aa18576 /drivers/ddr/imx/phy/ddrphy_utils.c | |
parent | 6f7ff73fbae9dcf9fc86aaeb76599fcd9df937e9 (diff) |
arm64: zynqmp: Fix r5 mode for cpu release command
The cpu release command for r5 mode (lockstep/split) argument
accepts only string. But the zynqmp tcminit command accepts
string or number for r5 mode (lockstep/split or 0/1) argument.
To fix the r5 mode argument, the common argument (lockstep/split
or 0/1) is used across different u-boot commands. Use the strcmp()
instead of strncmp() to make uniform the r5 mode (lockstep/split
or 0/1) for the zynqmp tcminit and cpu release command.
Signed-off-by: Padmarao Begari <padmarao.begari@amd.com>
Link: https://lore.kernel.org/r/20241104122750.96251-1-padmarao.begari@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
Diffstat (limited to 'drivers/ddr/imx/phy/ddrphy_utils.c')
0 files changed, 0 insertions, 0 deletions