diff options
author | Suman Anna <s-anna@ti.com> | 2016-03-04 16:36:38 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-03-14 23:18:42 (GMT) |
commit | 4ed8b2c969932ec0346b157f0d53173ff52a97c1 (patch) | |
tree | d31f38378fa55d6ae24936a29fb3710b31672d42 /arch/arm/mach-keystone/include | |
parent | 0299c2efb1acc61a746f2a08f84e8eea75783a01 (diff) | |
download | u-boot-fsl-qoriq-4ed8b2c969932ec0346b157f0d53173ff52a97c1.tar.xz |
ARM: keystone2: Use macro for DSP GEM power domain
Define a macro for the DSP GEM power domain id number and
use it instead of a hard-coded number in the code that
disables all the DSPs on various Keystone2 SoCs.
Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arm/mach-keystone/include')
-rw-r--r-- | arch/arm/mach-keystone/include/mach/hardware.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-keystone/include/mach/hardware.h b/arch/arm/mach-keystone/include/mach/hardware.h index edebcd7..8ca19bb 100644 --- a/arch/arm/mach-keystone/include/mach/hardware.h +++ b/arch/arm/mach-keystone/include/mach/hardware.h @@ -160,6 +160,7 @@ typedef volatile unsigned int *dv_reg_p; #define KS2_LPSC_GEM_0 15 #define KS2_LPSC_TETRIS 52 #define KS2_TETRIS_PWR_DOMAIN 31 +#define KS2_GEM_0_PWR_DOMAIN 8 /* Chip configuration unlock codes and registers */ #define KS2_KICK0 (KS2_DEVICE_STATE_CTRL_BASE + 0x38) |