aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorArd Biesheuvel <[email protected]>2015-03-04 19:45:38 +0100
committerWill Deacon <[email protected]>2015-03-19 19:46:01 +0000
commitb784a5d97d0af4835dd0125a3e0e5d0fd48128d6 (patch)
treece43b950581eef534c087c024e9ba07b55cbc42f /drivers/mtd/lpddr/lpddr_cmds.c
parenta591ede4cd1cac02d3398a9ad332bd0bba460efe (diff)
arm64: add macros for common adrp usages
The adrp instruction is mostly used in combination with either an add, a ldr or a str instruction with the low bits of the referenced symbol in the 12-bit immediate of the followup instruction. Introduce the macros adr_l, ldr_l and str_l that encapsulate these common patterns. Tested-by: Mark Rutland <[email protected]> Reviewed-by: Mark Rutland <[email protected]> Signed-off-by: Ard Biesheuvel <[email protected]> Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions