From 1faaa16a0831ba0926f2a0b59cde19a95c72d5b2 Mon Sep 17 00:00:00 2001 From: Ravi Kumar Bokka Date: Wed, 31 Mar 2021 08:05:24 +0530 Subject: soc/qualcomm: move code to common This commit includes makefile cleanup to exclude common source file compilation in each stage by using all-y flag. BUG=b:182963902 TEST=trogdor validated on limozeen Change-Id: I48464567974a0729c1c6b6157bcce4fac39a8b38 Signed-off-by: T Michael Turney Reviewed-on: https://review.coreboot.org/c/coreboot/+/51758 Tested-by: build bot (Jenkins) Reviewed-by: Shelley Chen --- src/soc/qualcomm/sc7180/qclib.c | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 src/soc/qualcomm/sc7180/qclib.c (limited to 'src/soc/qualcomm/sc7180/qclib.c') diff --git a/src/soc/qualcomm/sc7180/qclib.c b/src/soc/qualcomm/sc7180/qclib.c deleted file mode 100644 index cafc9703a8..0000000000 --- a/src/soc/qualcomm/sc7180/qclib.c +++ /dev/null @@ -1,27 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#include -#include -#include -#include - -int qclib_soc_blob_load(void) -{ - size_t size; - - /* Attempt to load PMICCFG Blob */ - size = cbfs_load(CONFIG_CBFS_PREFIX "/pmiccfg", - _pmic, REGION_SIZE(pmic)); - if (!size) - return -1; - qclib_add_if_table_entry(QCLIB_TE_PMIC_SETTINGS, _pmic, size, 0); - - /* Attempt to load DCB Blob */ - size = cbfs_load(CONFIG_CBFS_PREFIX "/dcb", - _dcb, REGION_SIZE(dcb)); - if (!size) - return -1; - qclib_add_if_table_entry(QCLIB_TE_DCB_SETTINGS, _dcb, size, 0); - - return 0; -} -- cgit v1.2.3