diff options
author | Michal Simek <michal.simek@xilinx.com> | 2022-01-19 12:03:23 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2022-02-04 13:23:39 +0100 |
commit | 927adc27abf8db8454a162102b00c0b272a28762 (patch) | |
tree | 7a35d6eb1dc29a13aaa74e1d3cc141bc75cfd1f8 /include/zynqmp_firmware.h | |
parent | bab0c02e3735c516405f83cf6d12df6c93cc933c (diff) | |
download | u-boot-927adc27abf8db8454a162102b00c0b272a28762.tar.gz |
zynqmp: Use the same style for macro definitions
Use the same coding style for all macros.
#define<space>NAME<tab/tabs>VALUE
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/3960de81a04acbaaa01936f743d3d6b3876fe4b7.1642590201.git.michal.simek@xilinx.com
Diffstat (limited to 'include/zynqmp_firmware.h')
-rw-r--r-- | include/zynqmp_firmware.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/zynqmp_firmware.h b/include/zynqmp_firmware.h index 0b068d7da2..cfd92d3fe5 100644 --- a/include/zynqmp_firmware.h +++ b/include/zynqmp_firmware.h @@ -342,20 +342,20 @@ enum pm_ioctl_id { IOCTL_AIE_ISR_CLEAR = 24, }; -#define PM_SIP_SVC 0xc2000000 +#define PM_SIP_SVC 0xc2000000 -#define ZYNQMP_PM_VERSION_MAJOR 1 -#define ZYNQMP_PM_VERSION_MINOR 0 -#define ZYNQMP_PM_VERSION_MAJOR_SHIFT 16 -#define ZYNQMP_PM_VERSION_MINOR_MASK 0xFFFF +#define ZYNQMP_PM_VERSION_MAJOR 1 +#define ZYNQMP_PM_VERSION_MINOR 0 +#define ZYNQMP_PM_VERSION_MAJOR_SHIFT 16 +#define ZYNQMP_PM_VERSION_MINOR_MASK 0xFFFF #define ZYNQMP_PM_VERSION \ ((ZYNQMP_PM_VERSION_MAJOR << ZYNQMP_PM_VERSION_MAJOR_SHIFT) | \ ZYNQMP_PM_VERSION_MINOR) -#define ZYNQMP_PM_VERSION_INVALID ~0 +#define ZYNQMP_PM_VERSION_INVALID ~0 -#define PMUFW_V1_0 ((1 << ZYNQMP_PM_VERSION_MAJOR_SHIFT) | 0) +#define PMUFW_V1_0 ((1 << ZYNQMP_PM_VERSION_MAJOR_SHIFT) | 0) /* * Return payload size |