*/
#include <arch_helpers.h>
+#include <assert.h>
#include <common/bl_common.h>
#include <drivers/console.h>
#include <lib/xlat_tables/xlat_tables_v2.h>
******************************************************************************/
void plat_early_platform_setup(void)
{
- ; /* do nothing */
+ /* Verify chip id is t132 */
+ assert(tegra_chipid_is_t132());
}
/*******************************************************************************
uint64_t impl, val;
const plat_params_from_bl2_t *plat_params = bl31_get_plat_params();
+ /* Verify chip id is t186 */
+ assert(tegra_chipid_is_t186());
+
/* sanity check MCE firmware compatibility */
mce_verify_firmware_version();
uint8_t enable_ccplex_lock_step = params_from_bl2->enable_ccplex_lock_step;
uint64_t actlr_elx;
+ /* Verify chip id is t194 */
+ assert(tegra_chipid_is_t194());
+
/* sanity check MCE firmware compatibility */
mce_verify_firmware_version();
const plat_params_from_bl2_t *plat_params = bl31_get_plat_params();
uint64_t val;
+ /* Verify chip id is t210 */
+ assert(tegra_chipid_is_t210());
+
/* platform parameter passed by the previous bootloader */
if (plat_params->l2_ecc_parity_prot_dis != 1) {
/* Enable ECC Parity Protection for Cortex-A57 CPUs */