diff options
author | Jacky Bai <ping.bai@nxp.com> | 2020-03-23 15:54:01 +0800 |
---|---|---|
committer | Jacky Bai <ping.bai@nxp.com> | 2020-03-27 20:52:50 +0800 |
commit | de9f6ef06affd646ec789fb832913db058321186 (patch) | |
tree | a96bbc3bcb613a0c8acfe02edd929f7091b90eef /plat/imx/imx8m/imx8mn/gpc.c | |
parent | ac5f80377ff574d721a9f966cecd0f1f63c22e94 (diff) |
plat: imx8m: move the gpc reg & macro to a separate header file
move the gpc reg offset, bit define & macro to a separate header
file for code reuse.
Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Diffstat (limited to 'plat/imx/imx8m/imx8mn/gpc.c')
-rw-r--r-- | plat/imx/imx8m/imx8mn/gpc.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/plat/imx/imx8m/imx8mn/gpc.c b/plat/imx/imx8m/imx8mn/gpc.c index 246422d9..059db156 100644 --- a/plat/imx/imx8m/imx8mn/gpc.c +++ b/plat/imx/imx8m/imx8mn/gpc.c @@ -21,25 +21,6 @@ #include <imx_sip_svc.h> #include <plat_imx8.h> -#define MIPI_PWR_REQ BIT(0) -#define OTG1_PWR_REQ BIT(2) -#define HSIOMIX_PWR_REQ BIT(4) -#define GPUMIX_PWR_REQ BIT(7) -#define DISPMIX_PWR_REQ BIT(10) - -#define HSIOMIX_ADB400_SYNC BIT(5) -#define DISPMIX_ADB400_SYNC BIT(7) -#define GPUMIX_ADB400_SYNC (0x5 << 9) -#define HSIOMIX_ADB400_ACK BIT(23) -#define DISPMIX_ADB400_ACK BIT(25) -#define GPUMIX_ADB400_ACK (0x5 << 27) - -#define MIPI_PGC 0xc00 -#define OTG1_PGC 0xc80 -#define HSIOMIX_PGC 0xd00 -#define GPUMIX_PGC 0xdc0 -#define DISPMIX_PGC 0xe80 - #define CCGR(x) (0x4000 + (x) * 16) enum pu_domain_id { |