blob: 268606cd9614b24dac1d6545f07116fc4ec66d5e [file] [log] [blame]
Antonio Nino Diaz272e8712018-09-18 01:36:00 +01001/*
Carlo Caionee5a30db2019-08-24 17:31:51 +01002 * Copyright (c) 2018-2019, ARM Limited and Contributors. All rights reserved.
Antonio Nino Diaz272e8712018-09-18 01:36:00 +01003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#include <stdint.h>
8
Carlo Caionee5a30db2019-08-24 17:31:51 +01009#include "aml_private.h"
Antonio Nino Diaz272e8712018-09-18 01:36:00 +010010
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}