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>
---
ofd_fixup.c | 5 -----
1 file changed, 5 deletions(-)
diff -r 4ce02fb93818 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 12:47:01 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
|