Skip to content

Commit

Permalink
Merge pull request #23 from analogdevicesinc/SC594_L3_DDR_HOTFIX
Browse files Browse the repository at this point in the history
SC594 L3 DDR hotfix
  • Loading branch information
vasbimpikasadi authored May 24, 2024
2 parents 0c060a5 + ade2b4c commit 86e883e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions arch/arm/boot/dts/sc594-som.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@

chosen {
stdout-path = &uart1;
bootargs = "root=/dev/mtdblock4 rw rootfstype=jffs2 earlyprintk=serial,uart0,115200 console=ttySC0,115200 vmalloc=512M";
bootargs = "root=/dev/mtdblock4 rw rootfstype=jffs2 earlyprintk=serial,uart0,115200 console=ttySC0,115200 vmalloc=512M mem=512M";
};

aliases {
};

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

reserved-memory {
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/mach-sc5xx/Makefile.boot
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ params_phys-y := 0xC2000100
endif

ifeq ($(CONFIG_MACH_SC594_SOM),y)
zreladdr-y += 0x82008000
params_phys-y := 0x82000100
zreladdr-y += 0xA0008000
params_phys-y := 0xA0000100
endif
4 changes: 2 additions & 2 deletions drivers/soc/adi/mach-sc59x/Makefile.boot
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# 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 += 0xA0008000
params_phys-y := 0xA0000100
else
zreladdr-y += 0x80008000
params_phys-y := 0x80000100
Expand Down

0 comments on commit 86e883e

Please sign in to comment.