public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/2] cmd_fdt: Actually fix fdt command in sandbox
@ 2015-02-03 22:06 Joe Hershberger
  2015-02-03 22:06 ` [U-Boot] [PATCH 2/2] cmd_fdt: Print the control fdt in terms of virtual memory Joe Hershberger
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Joe Hershberger @ 2015-02-03 22:06 UTC (permalink / raw)
  To: u-boot

Commit 90bac29a76bc8d649b41a55f2786c0abef9bb2c1 claims to fix this bug
that was introduced in commit a92fd6577ea17751ead9b50243e3c562125cf581
but doesn't actually make the change that the commit message describes.

Actually fix the bug this time.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
---

 common/cmd_fdt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/cmd_fdt.c b/common/cmd_fdt.c
index dc59fab..51c585b 100644
--- a/common/cmd_fdt.c
+++ b/common/cmd_fdt.c
@@ -123,7 +123,7 @@ static int do_fdt(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 		if (control)
 			gd->fdt_blob = blob;
 		else
-			set_working_fdt_addr((void *)blob);
+			set_working_fdt_addr((void *)addr);
 
 		if (argc >= 2) {
 			int  len;
-- 
1.7.11.5

^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2015-02-06  5:59 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-03 22:06 [U-Boot] [PATCH 1/2] cmd_fdt: Actually fix fdt command in sandbox Joe Hershberger
2015-02-03 22:06 ` [U-Boot] [PATCH 2/2] cmd_fdt: Print the control fdt in terms of virtual memory Joe Hershberger
2015-02-03 22:30   ` Albert ARIBAUD
2015-02-04  0:35 ` [U-Boot] [PATCH 1/2] cmd_fdt: Actually fix fdt command in sandbox Simon Glass
2015-02-04  1:04 ` [U-Boot] [PATCH v2 " Joe Hershberger
2015-02-04  1:04   ` [U-Boot] [PATCH v2 2/2] cmd_fdt: Print the control fdt in terms of virtual memory Joe Hershberger
2015-02-05  2:50     ` Simon Glass
2015-02-05  2:50   ` [U-Boot] [PATCH v2 1/2] cmd_fdt: Actually fix fdt command in sandbox Simon Glass
2015-02-05  3:56   ` [U-Boot] [PATCH v3 " Joe Hershberger
2015-02-05  3:56     ` [U-Boot] [PATCH v3 2/2] cmd_fdt: Print the control fdt in terms of virtual memory Joe Hershberger
2015-02-06  5:11       ` Simon Glass
2015-02-06  5:59         ` Simon Glass
2015-02-06  5:11     ` [U-Boot] [PATCH v3 1/2] cmd_fdt: Actually fix fdt command in sandbox Simon Glass
2015-02-06  5:59       ` Simon Glass

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox