]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
soc: bcm: bcm2835-power: Resolve ASB register macros
authorStefan Wahren <stefan.wahren@i2se.com>
Sat, 25 Jun 2022 11:36:17 +0000 (13:36 +0200)
committerLee Jones <lee.jones@linaro.org>
Mon, 4 Jul 2022 10:59:32 +0000 (11:59 +0100)
commita6a1747a5ca90051e49f8a394dd0464cef8d755d
treefcc778c11f5dda6f5a2acee64a963df9fbe30ecd
parentc494a447c14e7a8b997b4b8c4eaf9808e216ea70
soc: bcm: bcm2835-power: Resolve ASB register macros

The macros in order to access the ASB registers have a hard coded base
address. So extending them for other platforms would make them harder
to read. As a solution resolve these macros.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: Peter Robinson <pbrobinson@gmail.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20220625113619.15944-10-stefan.wahren@i2se.com
drivers/soc/bcm/bcm2835-power.c