summaryrefslogtreecommitdiff
path: root/src/soc/qualcomm/sdm845/soc.c
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2020-11-10 16:02:16 -0800
committerJulius Werner <jwerner@chromium.org>2020-11-12 01:43:14 +0000
commit2b5bdaea630ecd35e22473816cd4000dd8f8916e (patch)
treebaeb8346c68d463515f67ca0ffc252722fa6da7a /src/soc/qualcomm/sdm845/soc.c
parent9c50462fd7ce12cb9b3ef94f5bef39dcfa24ca6c (diff)
Delete soc/qualcomm/sdm845
Work on this SoC was abandoned and never finished. It's not really usable in its current state, so let's get rid of it. Signed-off-by: Julius Werner <jwerner@chromium.org> Change-Id: I23453e3e47ac336ab61687004470e5e79172cafe Reviewed-on: https://review.coreboot.org/c/coreboot/+/47428 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/soc/qualcomm/sdm845/soc.c')
-rw-r--r--src/soc/qualcomm/sdm845/soc.c36
1 files changed, 0 insertions, 36 deletions
diff --git a/src/soc/qualcomm/sdm845/soc.c b/src/soc/qualcomm/sdm845/soc.c
deleted file mode 100644
index 07716e83bd..0000000000
--- a/src/soc/qualcomm/sdm845/soc.c
+++ /dev/null
@@ -1,36 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-#include <symbols.h>
-#include <device/device.h>
-#include <soc/mmu.h>
-#include <soc/mmu_common.h>
-#include <soc/symbols.h>
-#include <soc/aop.h>
-
-static void soc_read_resources(struct device *dev)
-{
- ram_resource(dev, 0, (uintptr_t)ddr_region->offset / KiB,
- ddr_region->size / KiB);
- reserved_ram_resource(dev, 1, (uintptr_t)_dram_reserved / KiB,
- REGION_SIZE(dram_reserved) / KiB);
-}
-
-static void soc_init(struct device *dev)
-{
- aop_fw_load_reset();
-}
-
-static struct device_operations soc_ops = {
- .read_resources = soc_read_resources,
- .init = soc_init,
-};
-
-static void enable_soc_dev(struct device *dev)
-{
- dev->ops = &soc_ops;
-}
-
-struct chip_operations soc_qualcomm_sdm845_ops = {
- CHIP_NAME("SOC Qualcomm SDM845")
- .enable_dev = enable_soc_dev,
-};