Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SC594 L3 DDR hotfix #23

Merged
merged 2 commits into from
May 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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