summaryrefslogtreecommitdiff
path: root/plat/imx/common/imx8m/imx_rdc.c
diff options
context:
space:
mode:
authorOlivier Masse <olivier.masse@nxp.com>2018-10-05 11:03:18 +0200
committerOlivier Masse <olivier.masse@nxp.com>2018-11-13 15:15:59 +0100
commit1e61b6e298e14e0bb00854ab0240752ad6989c79 (patch)
treedd7b9c77acf74e123915a7898ab124fc47bcd466 /plat/imx/common/imx8m/imx_rdc.c
parentac0b499ff6618e0bb4d0cdb55009f75c914d4fe7 (diff)
MMIOT-152 + MMIOT-157 : move specific RDC configuration from driver to board setup
Signed-off-by: Olivier Masse <olivier.masse@nxp.com>
Diffstat (limited to 'plat/imx/common/imx8m/imx_rdc.c')
-rw-r--r--plat/imx/common/imx8m/imx_rdc.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/plat/imx/common/imx8m/imx_rdc.c b/plat/imx/common/imx8m/imx_rdc.c
index 35c5362e..1a21cd31 100644
--- a/plat/imx/common/imx8m/imx_rdc.c
+++ b/plat/imx/common/imx8m/imx_rdc.c
@@ -160,17 +160,17 @@ static struct rdc_mda_conf masters_config[] = {
#else
/* Default peripherals settings as an example */
static struct rdc_pdap_conf periph_config[] = {
- {RDC_PDAP_GPU_EXSC, 0x0C, 0},
- {RDC_PDAP_VPU_SEC, 0x33, 0},
+ {RDC_PDAP_GPIO1, 0x3, 0},
+ {RDC_PDAP_GPIO2, 0x3, 0},
+ {RDC_PDAP_GPIO3, 0x3, 0},
+ {RDC_PDAP_GPIO4, 0x3, 0},
+ {RDC_PDAP_GPIO5, 0x3, 0},
};
/* Default masters settings as an example */
static struct rdc_mda_conf masters_config[] = {
- {RDC_MDA_A53, 0, 1},
- {RDC_MDA_CAAM, 0, 1},
- {RDC_MDA_GPU, 1, 1},
- {RDC_MDA_VPU_DEC, 2, 1},
- {RDC_MDA_DCSS, 3, 1},
+ {RDC_MDA_A53, 0, 0},
+ {RDC_MDA_CAAM, 0, 0},
};
#endif
void imx_rdc_set_peripherals_default(void)