mb/google/brya/var/orisa: Update Type C DisplayPort HPD Configuration
[coreboot2.git] / src / soc / qualcomm / sc7280 / carve_out.c
blobd5482359225933f1af65fdaf906bbfe72908dbdf
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <arch/stages.h>
4 #include <soc/mmu_common.h>
5 #include <soc/symbols_common.h>
6 #include <device/mmio.h>
8 #define MODEM_ONLY 0x004c5445
10 bool soc_modem_carve_out(void **start, void **end)
12 uint32_t modem_id = read32(_modem_id);
14 switch (modem_id) {
15 case MODEM_ONLY:
16 *start = _dram_modem;
17 *end = _edram_modem;
18 return true;
19 default:
20 return false;