WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ppc-devel

[XenPPC] [xenppc-unstable] [ppc] Get rid of hard-coded console=ttyS0 boo

To: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Subject: [XenPPC] [xenppc-unstable] [ppc] Get rid of hard-coded console=ttyS0 bootargs in Xen
From: Xen patchbot-xenppc-unstable <patchbot-xenppc-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 20 Jun 2006 18:05:30 +0000
Delivery-date: Tue, 20 Jun 2006 11:11:55 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [XenPPC] [xenppc-unstable] [ppc] Get rid of hard-coded console=ttyS0 bootargs in Xen, Xen patchbot-xenppc-unstable <=