Skip to contentSkip to conversation

85xx: Fix size of cpu-release-addr property

PATCH New Kumar Gala 3 participants 6 messages Apr 18, 2008 – Apr 25, 2008

lore
Share & tools
lore

Kumar Gala

author
#0 lore raw

PATCH 1/1 85xx: Fix size of cpu-release-addr property

The cpu-release-addr is defined as always being a 64-bit quanity regardless if we are running on a 32-bit or 64-bit machine.

---
 cpu/mpc85xx/fdt.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
cpu/mpc85xx/fdt.c +1 -1
index bde6d1e..bb87740 100644
@@ -52,7 +52,7 @@ void ft_fixup_cpu(void *blob, u64 memory_limit)
 			if (*reg == id) {
 				fdt_setprop_string(blob, off, "status", "okay");
 			} else {
-				u32 val = *reg * SIZE_BOOT_ENTRY + spin_tbl_addr;
+				u64 val = *reg * SIZE_BOOT_ENTRY + spin_tbl_addr;
 				val = cpu_to_fdt32(val);
 				fdt_setprop_string(blob, off, "status",
 								"disabled");
Signature · 1 line
1.5.4.1
Applied
#1 lore raw

PATCH 1/1 85xx: Fix size of cpu-release-addr property

Quoted 2 lines · Kumar Gala

The cpu-release-addr is defined as always being a 64-bit quanity regardless
if we are running on a 32-bit or 64-bit machine.

Applied, thanks.

#2 lore raw

PATCH 1/1 85xx: Fix size of cpu-release-addr property

In reply to Kumar Gala
Quoted 5 lines · In message <[email protected]> you wrote:

The cpu-release-addr is defined as always being a 64-bit quanity regardless if we are running on a 32-bit or 64-bit machine.

---
 cpu/mpc85xx/fdt.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Signed-off-by line missing...

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"If people are good only because they fear punishment, and  hope  for
reward, then we are a sorry lot indeed."            - Albert Einstein
author
#3 lore raw

PATCH 1/1 85xx: Fix size of cpu-release-addr property

Quoted 10 lines · Wolfgang Denk

In message <[email protected]>

Quoted 6 lines · you

The cpu-release-addr is defined as always being a 64-bit quanity regardless
if we are running on a 32-bit or 64-bit machine.
---
cpu/mpc85xx/fdt.c | 2 +-

1 files changed, 1 insertions(+), 1 deletions(-)

Signed-off-by line missing...

oops (should have had it). This got into the tree how do you want to deal with it?

- k

#4 lore raw

PATCH 1/1 85xx: Fix size of cpu-release-addr property

Quoted 5 lines · In message <[email protected]> you wrote:
Quoted 2 lines

Signed-off-by line missing...

oops (should have had it). This got into the tree how do you want to deal with it?

Oops. Well, that cannot be changed. Maybe you can post the S-o-b , just for the record :-)

Best regards,

Wolfgang Denk

Signature · 7 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Digital computers are themselves more complex than most things people
build: They have very large numbers of states. This makes conceiving,
describing, and testing them hard. Software systems  have  orders-of-
magnitude more states than computers do.           - Fred Brooks, Jr.
author
#5 lore raw

PATCH 1/1 85xx: Fix size of cpu-release-addr property

Quoted 10 lines · Wolfgang Denk

In message <DCD54745-A286-4E15-93FE-

Quoted 5 lines · C71CD00AED37 at kernel.crashing.org> you wrote:
Quoted 2 lines

Signed-off-by line missing...

oops (should have had it). This got into the tree how do you want to deal with it?

Oops. Well, that cannot be changed. Maybe you can post the S-o-b , just for the record :-)

done.

- k