diff options
author | Anson Huang <Anson.Huang@nxp.com> | 2018-06-11 12:54:05 +0800 |
---|---|---|
committer | Anson Huang <Anson.Huang@nxp.com> | 2018-06-19 10:24:32 +0800 |
commit | baa7650bf805eecb22011f38e3a64fce6adac607 (patch) | |
tree | 0e7f6db6845d396b9374fb7719dd13910bfc5745 /plat/imx/imx8qm/platform.mk | |
parent | 0bc1830928616c850ce377c837f883bffe4caa3e (diff) |
Support for NXP's i.MX8QM SoC
NXP's i.MX8QM is an ARMv8 SoC with 2 clusters, 2 Cortex-A72
cores in one cluster and 4 Cortex-A53 in the other cluster,
and also has system controller (Cortex-M4) inside, documentation
can be found in below link:
https://www.nxp.com/products/processors-and-microcontrollers/
applications-processors/i.mx-applications-processors/i.mx-8-processors:IMX8-SERIES
This patch adds support for booting up SMP linux kernel (v4.9).
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Diffstat (limited to 'plat/imx/imx8qm/platform.mk')
-rw-r--r-- | plat/imx/imx8qm/platform.mk | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/plat/imx/imx8qm/platform.mk b/plat/imx/imx8qm/platform.mk new file mode 100644 index 00000000..c295e14b --- /dev/null +++ b/plat/imx/imx8qm/platform.mk @@ -0,0 +1,40 @@ +# +# Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved. +# +# SPDX-License-Identifier: BSD-3-Clause +# + +PLAT_INCLUDES := -Iplat/imx/imx8qm/include \ + -Iplat/imx/common/include \ + +IMX_GIC_SOURCES := drivers/arm/gic/v3/gicv3_helpers.c \ + drivers/arm/gic/v3/arm_gicv3_common.c \ + drivers/arm/gic/v3/gic500.c \ + drivers/arm/gic/v3/gicv3_main.c \ + drivers/arm/gic/common/gic_common.c \ + plat/common/plat_gicv3.c \ + plat/common/plat_psci_common.c \ + plat/imx/common/plat_imx8_gic.c + +BL31_SOURCES += plat/imx/common/lpuart_console.S \ + plat/imx/common/imx8_helpers.S \ + plat/imx/imx8qm/imx8qm_bl31_setup.c \ + plat/imx/imx8qm/imx8qm_psci.c \ + plat/imx/common/imx8_topology.c \ + lib/xlat_tables/aarch64/xlat_tables.c \ + lib/xlat_tables/xlat_tables_common.c \ + lib/cpus/aarch64/cortex_a53.S \ + lib/cpus/aarch64/cortex_a72.S \ + drivers/console/aarch64/console.S \ + drivers/arm/cci/cci.c \ + ${IMX_GIC_SOURCES} \ + +include plat/imx/common/sci/sci_api.mk + +ENABLE_PLAT_COMPAT := 0 +USE_COHERENT_MEM := 1 +RESET_TO_BL31 := 1 +ARM_GIC_ARCH := 3 +A53_DISABLE_NON_TEMPORAL_HINT := 0 +MULTI_CONSOLE_API := 1 +ERRATA_A72_859971 := 1 |