amlogic: Fix prefixes in the efuse driver
The efuse driver is hardcoding the GXBB prefix. No need to do that since
the driver is shared between multiple SoCs.
Signed-off-by: Carlo Caione <ccaione@baylibre.com>
Change-Id: I97691b0bbd55170d8216d301a3fc04feb8c2af2e
diff --git a/plat/amlogic/common/aml_efuse.c b/plat/amlogic/common/aml_efuse.c
index 4124802..9ab4ba2 100644
--- a/plat/amlogic/common/aml_efuse.c
+++ b/plat/amlogic/common/aml_efuse.c
@@ -11,7 +11,7 @@
#define EFUSE_BASE 0x140
#define EFUSE_SIZE 0xC0
-uint64_t gxbb_efuse_read(void *dst, uint32_t offset, uint32_t size)
+uint64_t aml_efuse_read(void *dst, uint32_t offset, uint32_t size)
{
if ((uint64_t)(offset + size) > (uint64_t)EFUSE_SIZE)
return 0;
@@ -19,7 +19,7 @@
return scpi_efuse_read(dst, offset + EFUSE_BASE, size);
}
-uint64_t gxbb_efuse_user_max(void)
+uint64_t aml_efuse_user_max(void)
{
return EFUSE_SIZE;
}