Browse Source

Tegra186: move smmu driver to tegra/common

This patch moves the smmu driver introduced by the Tegra186 port
to tegra/common so that future chips can (re)use it.

Change-Id: Ia44c7f2a62fb2d8869db3a44742a8c6b13c49036
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
pull/895/head
Varun Wadekar 8 years ago
parent
commit
cb38550c94
  1. 0
      plat/nvidia/tegra/common/drivers/smmu/smmu.c
  2. 2
      plat/nvidia/tegra/include/t186/tegra_def.h
  3. 2
      plat/nvidia/tegra/soc/t186/platform_t186.mk

0
plat/nvidia/tegra/soc/t186/drivers/smmu/smmu.c → plat/nvidia/tegra/common/drivers/smmu/smmu.c

2
plat/nvidia/tegra/include/t186/tegra_def.h

@ -249,6 +249,8 @@
* Tegra scratch registers constants
******************************************************************************/
#define TEGRA_SCRATCH_BASE 0x0C390000
#define SECURE_SCRATCH_RSV1_LO 0x658
#define SECURE_SCRATCH_RSV1_HI 0x65C
#define SECURE_SCRATCH_RSV6 0x680
#define SECURE_SCRATCH_RSV11_LO 0x6A8
#define SECURE_SCRATCH_RSV11_HI 0x6AC

2
plat/nvidia/tegra/soc/t186/platform_t186.mk

@ -66,11 +66,11 @@ PLAT_INCLUDES += -I${SOC_DIR}/drivers/include
BL31_SOURCES += lib/cpus/aarch64/denver.S \
lib/cpus/aarch64/cortex_a57.S \
${COMMON_DIR}/drivers/memctrl/memctrl_v2.c \
${COMMON_DIR}/drivers/smmu/smmu.c \
${SOC_DIR}/drivers/mce/mce.c \
${SOC_DIR}/drivers/mce/ari.c \
${SOC_DIR}/drivers/mce/nvg.c \
${SOC_DIR}/drivers/mce/aarch64/nvg_helpers.S \
${SOC_DIR}/drivers/smmu/smmu.c \
${SOC_DIR}/plat_psci_handlers.c \
${SOC_DIR}/plat_setup.c \
${SOC_DIR}/plat_secondary.c \

Loading…
Cancel
Save