summaryrefslogtreecommitdiff
path: root/plat/amlogic
diff options
context:
space:
mode:
authorCarlo Caione <ccaione@baylibre.com>2019-08-25 18:09:59 +0100
committerCarlo Caione <ccaione@baylibre.com>2019-09-05 10:39:30 +0100
commit73f6d057666f55799f48e16f13faf47851fd393c (patch)
treed615318de74305ad9264b8a0d039384335aa4e17 /plat/amlogic
parent010fdc1ba02638296e4effbdddb1044bed822ee2 (diff)
amlogic: Fix prefixes in the thermal driver
No need to have a special SoC-specific prefix. Signed-off-by: Carlo Caione <ccaione@baylibre.com> Change-Id: I0da543e7d92d56604e79440a98027ffd9a2eaa59
Diffstat (limited to 'plat/amlogic')
-rw-r--r--plat/amlogic/common/aml_thermal.c2
-rw-r--r--plat/amlogic/common/include/aml_private.h2
-rw-r--r--plat/amlogic/gxbb/gxbb_bl31_setup.c2
-rw-r--r--plat/amlogic/gxl/gxl_bl31_setup.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/plat/amlogic/common/aml_thermal.c b/plat/amlogic/common/aml_thermal.c
index 268606cd..0a57f10f 100644
--- a/plat/amlogic/common/aml_thermal.c
+++ b/plat/amlogic/common/aml_thermal.c
@@ -13,7 +13,7 @@ static int32_t modules_initialized = -1;
/*******************************************************************************
* Unknown commands related to something thermal-related
******************************************************************************/
-void gxbb_thermal_unknown(void)
+void aml_thermal_unknown(void)
{
uint16_t ret;
diff --git a/plat/amlogic/common/include/aml_private.h b/plat/amlogic/common/include/aml_private.h
index 3d7e6ebd..9670c878 100644
--- a/plat/amlogic/common/include/aml_private.h
+++ b/plat/amlogic/common/include/aml_private.h
@@ -33,7 +33,7 @@ void scpi_unknown_thermal(uint32_t arg0, uint32_t arg1,
void scpi_upload_scp_fw(uintptr_t addr, size_t size, int send);
/* Peripherals */
-void gxbb_thermal_unknown(void);
+void aml_thermal_unknown(void);
uint64_t aml_efuse_read(void *dst, uint32_t offset, uint32_t size);
uint64_t aml_efuse_user_max(void);
diff --git a/plat/amlogic/gxbb/gxbb_bl31_setup.c b/plat/amlogic/gxbb/gxbb_bl31_setup.c
index c474d696..cff29b39 100644
--- a/plat/amlogic/gxbb/gxbb_bl31_setup.c
+++ b/plat/amlogic/gxbb/gxbb_bl31_setup.c
@@ -142,5 +142,5 @@ void bl31_platform_setup(void)
gicv2_pcpu_distif_init();
gicv2_cpuif_enable();
- gxbb_thermal_unknown();
+ aml_thermal_unknown();
}
diff --git a/plat/amlogic/gxl/gxl_bl31_setup.c b/plat/amlogic/gxl/gxl_bl31_setup.c
index d44b9aaa..fbfb76a0 100644
--- a/plat/amlogic/gxl/gxl_bl31_setup.c
+++ b/plat/amlogic/gxl/gxl_bl31_setup.c
@@ -158,5 +158,5 @@ void bl31_platform_setup(void)
gxl_scp_boot();
- gxbb_thermal_unknown();
+ aml_thermal_unknown();
}