Pritesh Raithatha | c88654f | 2017-01-02 20:11:32 +0530 | [diff] [blame] | 1 | /* |
Antonio Nino Diaz | 14ba963 | 2018-03-08 10:57:43 +0000 | [diff] [blame] | 2 | * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved. |
Pritesh Raithatha | 75c9443 | 2018-08-03 15:48:15 +0530 | [diff] [blame] | 3 | * Copyright (c) 2020, NVIDIA Corporation. All rights reserved. |
Pritesh Raithatha | c88654f | 2017-01-02 20:11:32 +0530 | [diff] [blame] | 4 | * |
Antonio Nino Diaz | 14ba963 | 2018-03-08 10:57:43 +0000 | [diff] [blame] | 5 | * SPDX-License-Identifier: BSD-3-Clause |
Pritesh Raithatha | c88654f | 2017-01-02 20:11:32 +0530 | [diff] [blame] | 6 | */ |
| 7 | |
Antonio Nino Diaz | e0f9063 | 2018-12-14 00:18:21 +0000 | [diff] [blame] | 8 | #include <common/bl_common.h> |
| 9 | |
Pritesh Raithatha | c88654f | 2017-01-02 20:11:32 +0530 | [diff] [blame] | 10 | #include <smmu.h> |
| 11 | #include <tegra_def.h> |
Puneet Saxena | cf8c0e2 | 2017-08-04 17:19:55 +0530 | [diff] [blame] | 12 | #include <tegra_mc_def.h> |
Pritesh Raithatha | c88654f | 2017-01-02 20:11:32 +0530 | [diff] [blame] | 13 | |
Steven Kao | 7fd30f5 | 2017-07-25 11:29:46 +0800 | [diff] [blame] | 14 | #define MAX_NUM_SMMU_DEVICES U(1) |
| 15 | |
Pritesh Raithatha | c88654f | 2017-01-02 20:11:32 +0530 | [diff] [blame] | 16 | /******************************************************************************* |
Steven Kao | 7fd30f5 | 2017-07-25 11:29:46 +0800 | [diff] [blame] | 17 | * Handler to return the support SMMU devices number |
| 18 | ******************************************************************************/ |
| 19 | uint32_t plat_get_num_smmu_devices(void) |
| 20 | { |
| 21 | return MAX_NUM_SMMU_DEVICES; |
| 22 | } |