sc7180: make symbols common accross multiple targets.

making the symbols common accross targets to avoid duplicates for each soc.

Signed-off-by: Ravi Kumar Bokka <rbokka@codeaurora.org>
Change-Id: Ic60f46891dfadc7db5ece02756cb449aacdd63c5
Reviewed-on: https://review.coreboot.org/c/coreboot/+/51337
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Shelley Chen <shchen@google.com>
This commit is contained in:
Ravi Kumar Bokka 2021-03-05 16:01:07 +05:30 committed by Patrick Georgi
parent 8da56e6e75
commit ce97bca09c
6 changed files with 21 additions and 25 deletions

View File

@ -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_

View File

@ -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

View File

@ -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_ */

View File

@ -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)
{

View File

@ -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)

View File

@ -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)