summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRavi Kumar Bokka <rbokka@codeaurora.org>2021-05-31 20:50:12 +0530
committerPatrick Georgi <pgeorgi@google.com>2021-06-04 12:40:30 +0000
commit414b4269becd027e7fe1d93af997fa686bf81420 (patch)
treeb86ebd462fb30bd30a759a218776bcf8b14c22e8
parentb2bb959ecf1d2a4b5f0f65d0f36dec271e401445 (diff)
sc7280: Reserve wlan & wpss dram regions index order corrected
BUG=b:182963902 TEST=Validated on qualcomm sc7280 developement board Signed-off-by: Ravi Kumar Bokka <rbokka@codeaurora.org> Change-Id: I8501e9ce52bb296bb42797d8b43fd38174b80550 Reviewed-on: https://review.coreboot.org/c/coreboot/+/55102 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Shelley Chen <shchen@google.com>
-rw-r--r--src/soc/qualcomm/sc7280/soc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/qualcomm/sc7280/soc.c b/src/soc/qualcomm/sc7280/soc.c
index 19cfbd96f0..c0fa32f691 100644
--- a/src/soc/qualcomm/sc7280/soc.c
+++ b/src/soc/qualcomm/sc7280/soc.c
@@ -12,9 +12,9 @@ static void soc_read_resources(struct device *dev)
ddr_region->size / KiB);
reserved_ram_resource(dev, 1, (uintptr_t)_dram_soc / KiB,
REGION_SIZE(dram_soc) / KiB);
- reserved_ram_resource(dev, 4, (uintptr_t)_dram_wlan / KiB,
+ reserved_ram_resource(dev, 2, (uintptr_t)_dram_wlan / KiB,
REGION_SIZE(dram_wlan) / KiB);
- reserved_ram_resource(dev, 5, (uintptr_t)_dram_wpss / KiB,
+ reserved_ram_resource(dev, 3, (uintptr_t)_dram_wpss / KiB,
REGION_SIZE(dram_wpss) / KiB);
}