2017-01-02 14:41:32 +00:00
|
|
|
/*
|
2018-03-08 10:57:43 +00:00
|
|
|
* Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
|
2018-08-03 11:18:15 +01:00
|
|
|
* Copyright (c) 2020, NVIDIA Corporation. All rights reserved.
|
2017-01-02 14:41:32 +00:00
|
|
|
*
|
2018-03-08 10:57:43 +00:00
|
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
2017-01-02 14:41:32 +00:00
|
|
|
*/
|
|
|
|
|
2018-12-14 00:18:21 +00:00
|
|
|
#include <common/bl_common.h>
|
|
|
|
|
2017-01-02 14:41:32 +00:00
|
|
|
#include <smmu.h>
|
|
|
|
#include <tegra_def.h>
|
2017-08-04 12:49:55 +01:00
|
|
|
#include <tegra_mc_def.h>
|
2017-01-02 14:41:32 +00:00
|
|
|
|
2017-07-25 04:29:46 +01:00
|
|
|
#define MAX_NUM_SMMU_DEVICES U(1)
|
|
|
|
|
|
|
|
/*******************************************************************************
|
|
|
|
* Handler to return the support SMMU devices number
|
|
|
|
******************************************************************************/
|
|
|
|
uint32_t plat_get_num_smmu_devices(void)
|
|
|
|
{
|
|
|
|
return MAX_NUM_SMMU_DEVICES;
|
|
|
|
}
|