summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/qualcomm/common/include/soc/symbols_common.h17
-rw-r--r--src/soc/qualcomm/sc7180/carve_out.c2
-rw-r--r--src/soc/qualcomm/sc7180/include/soc/symbols.h21
-rw-r--r--src/soc/qualcomm/sc7180/mmu.c2
-rw-r--r--src/soc/qualcomm/sc7180/qclib.c2
-rw-r--r--src/soc/qualcomm/sc7180/soc.c2
6 files changed, 21 insertions, 25 deletions
diff --git a/src/soc/qualcomm/common/include/soc/symbols_common.h b/src/soc/qualcomm/common/include/soc/symbols_common.h
index bf48f37c81..3a316c41e7 100644
--- a/src/soc/qualcomm/common/include/soc/symbols_common.h
+++ b/src/soc/qualcomm/common/include/soc/symbols_common.h
@@ -8,5 +8,22 @@
DECLARE_REGION(ddr_training);
DECLARE_REGION(qclib_serial_log);
DECLARE_REGION(ddr_information);
+DECLARE_REGION(ssram)
+DECLARE_REGION(bsram)
+DECLARE_REGION(dram_aop)
+DECLARE_REGION(dram_soc)
+DECLARE_REGION(dcb)
+DECLARE_REGION(pmic)
+DECLARE_REGION(limits_cfg)
+DECLARE_REGION(aop)
+DECLARE_REGION(shrm)
+DECLARE_REGION(dram_cpucp)
+DECLARE_REGION(aop_code_ram)
+DECLARE_REGION(aop_data_ram)
+DECLARE_REGION(dram_wlan)
+DECLARE_REGION(dram_wpss)
+DECLARE_REGION(dram_modem_wifi_only)
+DECLARE_REGION(dram_modem_extra)
+DECLARE_REGION(modem_id)
#endif // _SOC_QUALCOMM_SYMBOLS_COMMON_H_
diff --git a/src/soc/qualcomm/sc7180/carve_out.c b/src/soc/qualcomm/sc7180/carve_out.c
index 604abbdeeb..e129005c12 100644
--- a/src/soc/qualcomm/sc7180/carve_out.c
+++ b/src/soc/qualcomm/sc7180/carve_out.c
@@ -2,7 +2,7 @@
#include <arch/stages.h>
#include <soc/mmu_common.h>
-#include <soc/symbols.h>
+#include <soc/symbols_common.h>
#include <device/mmio.h>
#define MODEM_ID_LTE 0x004c5445
diff --git a/src/soc/qualcomm/sc7180/include/soc/symbols.h b/src/soc/qualcomm/sc7180/include/soc/symbols.h
deleted file mode 100644
index 1281d6370d..0000000000
--- a/src/soc/qualcomm/sc7180/include/soc/symbols.h
+++ /dev/null
@@ -1,21 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-#ifndef _SOC_QUALCOMM_SC7180_SYMBOLS_H_
-#define _SOC_QUALCOMM_SC7180_SYMBOLS_H_
-
-#include <symbols.h>
-
-DECLARE_REGION(ssram)
-DECLARE_REGION(bsram)
-DECLARE_REGION(dram_aop)
-DECLARE_REGION(dram_soc)
-DECLARE_REGION(dram_modem_wifi_only)
-DECLARE_REGION(dram_modem_extra)
-DECLARE_REGION(dcb)
-DECLARE_REGION(pmic)
-DECLARE_REGION(limits_cfg)
-DECLARE_REGION(aop_code_ram)
-DECLARE_REGION(aop_data_ram)
-DECLARE_REGION(modem_id)
-
-#endif /* _SOC_QUALCOMM_SC7180_SYMBOLS_H_ */
diff --git a/src/soc/qualcomm/sc7180/mmu.c b/src/soc/qualcomm/sc7180/mmu.c
index 8447c01b72..03e62e507e 100644
--- a/src/soc/qualcomm/sc7180/mmu.c
+++ b/src/soc/qualcomm/sc7180/mmu.c
@@ -5,7 +5,7 @@
#include <arch/cache.h>
#include <soc/mmu.h>
#include <soc/mmu_common.h>
-#include <soc/symbols.h>
+#include <soc/symbols_common.h>
void sc7180_mmu_init(void)
{
diff --git a/src/soc/qualcomm/sc7180/qclib.c b/src/soc/qualcomm/sc7180/qclib.c
index e6d54be659..cafc9703a8 100644
--- a/src/soc/qualcomm/sc7180/qclib.c
+++ b/src/soc/qualcomm/sc7180/qclib.c
@@ -2,7 +2,7 @@
#include <cbfs.h>
#include <fmap.h>
-#include <soc/symbols.h>
+#include <soc/symbols_common.h>
#include <soc/qclib_common.h>
int qclib_soc_blob_load(void)
diff --git a/src/soc/qualcomm/sc7180/soc.c b/src/soc/qualcomm/sc7180/soc.c
index d8cade4249..e7efff45a3 100644
--- a/src/soc/qualcomm/sc7180/soc.c
+++ b/src/soc/qualcomm/sc7180/soc.c
@@ -4,7 +4,7 @@
#include <device/device.h>
#include <soc/mmu.h>
#include <soc/mmu_common.h>
-#include <soc/symbols.h>
+#include <soc/symbols_common.h>
#include <soc/aop.h>
static void soc_read_resources(struct device *dev)