Skip to content

Commit

Permalink
SC594: Hotfix for SC594 L3 DDR memory overlap
Browse files Browse the repository at this point in the history
Resizing accessible memory range for ARM on sc594 such that
it does not overlap with SHARC allocated address space

Signed-off-by: UtsavAgarwalADI <utsav.agarwal@analog.com>
  • Loading branch information
UtsavAgarwalADI committed May 8, 2024
1 parent c4403f4 commit 532c222
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/sc594-som.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
aliases {
};

memory@80000000 { /*8 Gbit DDR*/
memory@a0000000 { /*4 Gbit DDR*/
device_type = "memory";
reg = <0x80000000 0x40000000>;
reg = <0xa0000000 0x20000000>;
};

reserved-memory {
Expand Down
8 changes: 4 additions & 4 deletions drivers/soc/adi/mach-sc59x/Makefile.boot
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)-or-later

ifeq ($(CONFIG_MACH_SC594_SOM),y)
zreladdr-y += 0x82008000
params_phys-y := 0x82000100
zreladdr-y += 0xA2008000
params_phys-y := 0xA2000100
else
zreladdr-y += 0x80008000
params_phys-y := 0x80000100
zreladdr-y += 0xA0008000
params_phys-y := 0xA0000100
endif

0 comments on commit 532c222

Please sign in to comment.