# HG changeset patch
# User Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
# Node ID e51d79672a6a4d921d7c55df1d525d49be07b782
# Parent 4ce02fb938183ea948ea77bd2b79c87f40cca3f0
[ppc] Get rid of hard-coded console=ttyS0 bootargs in Xen
Get rid of hard-coded console=ttyS0 bootargs in Xen, now that Linux has
a preferred console. Compiled and tested up to successful nfsroot on
JS20.
Signed-off-by: Amos Waterland <apw@xxxxxxxxxx>
---
xen/arch/ppc/ofd_fixup.c | 5 -----
1 files changed, 5 deletions(-)
diff -r 4ce02fb93818 -r e51d79672a6a xen/arch/ppc/ofd_fixup.c
--- a/xen/arch/ppc/ofd_fixup.c Fri Jun 16 15:58:32 2006 -0500
+++ b/xen/arch/ppc/ofd_fixup.c Tue Jun 20 13:48:19 2006 -0400
@@ -251,7 +251,6 @@ static ofdn_t ofd_chosen_props(void *m,
ofdn_t n;
ofdn_t p;
static const char path[] = "/chosen";
- static const char console[] = " console=ttyS0 ";
char bootargs[256];
int bsz;
int sz;
@@ -280,10 +279,6 @@ static ofdn_t ofd_chosen_props(void *m,
}
}
- ASSERT(rm > sizeof(console));
-
- memcpy(&bootargs[bsz - 1], console, sizeof (console));
- bsz += sizeof (console) - 1;
printk("DOM0 bootargs: %s\n", bootargs);
ofd_prop_add(m, n, "bootargs", bootargs, bsz);
_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel
|