* [PATCH dtc take 3] Fix reserve map output for asm format.
@ 2007-04-17 22:14 Jerry Van Baren
0 siblings, 0 replies; only message in thread
From: Jerry Van Baren @ 2007-04-17 22:14 UTC (permalink / raw)
To: linuxppc-dev, jdl
Add extra reserve map slots output for asm format (previously done for dtb
output).
Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
---
Hi Jon, David, Milton,
Here is a patch just to fix the asm output for reserved slots for the
-R parameter.
Best regards,
gvb
flattree.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/flattree.c b/flattree.c
index 151d16e..8159848 100644
--- a/flattree.c
+++ b/flattree.c
@@ -490,6 +490,9 @@ void dt_to_asm(FILE *f, struct boot_info *bi, int version, int boot_cpuid_phys)
(unsigned int)(re->re.size >> 32),
(unsigned int)(re->re.size & 0xffffffff));
}
+ for (i = 0; i < reservenum; i++) {
+ fprintf(f, "\t.long\t0, 0\n\t.long\t0, 0\n");
+ }
fprintf(f, "\t.long\t0, 0\n\t.long\t0, 0\n");
--
1.4.4.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2007-04-17 22:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-17 22:14 [PATCH dtc take 3] Fix reserve map output for asm format Jerry Van Baren
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.