blob: b6048eee469daac9edb46d1763296432e78dc40e [file] [log] [blame]
Antonio Nino Diaz272e8712018-09-18 01:36:00 +01001/*
2 * Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#include <stdint.h>
8
9#include "gxbb_private.h"
10
11static int32_t modules_initialized = -1;
12
13/*******************************************************************************
14 * Unknown commands related to something thermal-related
15 ******************************************************************************/
16void gxbb_thermal_unknown(void)
17{
18 uint16_t ret;
19
20 if (modules_initialized == -1) {
21 scpi_efuse_read(&ret, 0, 2);
22 modules_initialized = ret;
23 }
24
25 scpi_unknown_thermal(10, 2, /* thermal */
26 13, 1); /* thermalver */
27}