diff options
author | Anson Huang <Anson.Huang@nxp.com> | 2017-08-14 23:24:27 +0800 |
---|---|---|
committer | Anson Huang <Anson.Huang@nxp.com> | 2017-08-25 02:55:00 +0800 |
commit | 61d8cbdf027c0b00ca4c2dbe00d6e0b896cc7b42 (patch) | |
tree | 45da8f1a2744ae9b959bf93a9f9cacb5642e89a3 /plat/freescale/imx8mq/include | |
parent | 685dddb758f14790299f78844146d9b12a731bac (diff) |
i.mx8qm/i.mx8qxp: add SIP cpu-freq support
Linux kernel will issue cpu-freq scale via SIP, ATF
calls SCFW API to finish the CPU frequency scale.
Move SIP service code from i.mx8mq to common place for
all i.mx SoCs.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Diffstat (limited to 'plat/freescale/imx8mq/include')
-rw-r--r-- | plat/freescale/imx8mq/include/fsl_sip.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/plat/freescale/imx8mq/include/fsl_sip.h b/plat/freescale/imx8mq/include/fsl_sip.h deleted file mode 100644 index 73fa08d4..00000000 --- a/plat/freescale/imx8mq/include/fsl_sip.h +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2017 NXP - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - */ - -#ifndef __SOC_FSL_SIP_H -#define __SOC_FSL_SIP_H - -#define FSL_SIP_GPC 0xC2000000 -#define FSL_SIP_CONFIG_GPC_MASK 0x00 -#define FSL_SIP_CONFIG_GPC_UNMASK 0x01 -#define FSL_SIP_CONFIG_GPC_SET_WAKE 0x02 -#define FSL_SIP_CONFIG_GPC_PM_DOMAIN 0x03 - -#endif |