[coreboot] [PATCH] v3: update mainboard dts files to new style
Peter Stuge
peter at stuge.se
Sun Feb 17 08:05:56 CET 2008
On Sat, Feb 16, 2008 at 09:30:17PM -0800, ron minnich wrote:
> you mean add a .dts? It makes sense to me.
I've done this in my working copy:
cd northbridge/amd/geodelx
svn mv apic apic.dts
svn mv domain domain.dts
svn mv pci pci.dts
cd ../../intel/i440bxemulation
svn mv domain domain.dts
cd ../../../southbridge/intel/i82371eb
svn mv ide ide.dts
cd ../../../mainboard/pcengines/alix1c
sed -i '/config.*[^s]");$/s,");,.dts");,' dts
cd ../../emulation/qemu-x86
sed -i '/config.*[^s]");$/s,");,.dts");,' dts
This is the patch I got. Will it be enough to commit that if it is
acked, or do I need to do something else for the svn mv to be
complete?
//Peter
-------------- next part --------------
Rename dts files that aren't named dts to have a .dts suffix:
northbridge/amd/geodelx/apic -> apic.dts
northbridge/amd/geodelx/domain -> domain.dts
northbridge/amd/geodelx/pci -> pci.dts
northbridge/intel/i440bxemulation/domain -> domain.dts
southbridge/intel/i82371eb/ide -> ide.dts
Update mainboard/pcengines/alix1c/dts and emulation/qemu-x86/dts accordingly.
Signed-off-by: Peter Stuge <peter at stuge.se>
--
Index: southbridge/intel/i82371eb/ide
===================================================================
--- southbridge/intel/i82371eb/ide (revision 605)
+++ southbridge/intel/i82371eb/ide (working copy)
@@ -1,25 +0,0 @@
-/*
- * This file is part of the coreboot project.
- *
- * Copyright (C) 2007 Ronald G. Minnich <rminnich at gmail.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-{
- ide0_enable = "0";
- ide1_enable = "0";
- device_operations = "i82371eb_ide";
-};
Index: mainboard/pcengines/alix1c/dts
===================================================================
--- mainboard/pcengines/alix1c/dts (revision 605)
+++ mainboard/pcengines/alix1c/dts (working copy)
@@ -24,12 +24,12 @@
mainboard-name = "ALIX1.C";
cpus { };
apic at 0 {
- /config/("northbridge/amd/geodelx/apic");
+ /config/("northbridge/amd/geodelx/apic.dts");
};
domain at 0 {
- /config/("northbridge/amd/geodelx/domain");
+ /config/("northbridge/amd/geodelx/domain.dts");
pci at 1,0 {
- /config/("northbridge/amd/geodelx/pci");
+ /config/("northbridge/amd/geodelx/pci.dts");
};
pci at 15,0 {
/config/("southbridge/amd/cs5536/dts");
Index: mainboard/emulation/qemu-x86/dts
===================================================================
--- mainboard/emulation/qemu-x86/dts (revision 605)
+++ mainboard/emulation/qemu-x86/dts (working copy)
@@ -24,12 +24,12 @@
device_operations = "qemuvga_pci_ops_dev";
cpus {};
domain at 0 {
- /config/("northbridge/intel/i440bxemulation/domain");
+ /config/("northbridge/intel/i440bxemulation/domain.dts");
bus at 0 {
pci at 0,0 {
};
pci at 1,0 {
- /config/("southbridge/intel/i82371eb/ide");
+ /config/("southbridge/intel/i82371eb/ide.dts");
};
};
};
Index: northbridge/amd/geodelx/domain
===================================================================
--- northbridge/amd/geodelx/domain (revision 605)
+++ northbridge/amd/geodelx/domain (working copy)
@@ -1,24 +0,0 @@
-/*
- * This file is part of the coreboot project.
- *
- * Copyright (C) 2008 Ronald G. Minnich <rminnich at gmail.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-{
- device_operations = "geodelx_north_domain";
-};
-
Index: northbridge/amd/geodelx/pci
===================================================================
--- northbridge/amd/geodelx/pci (revision 605)
+++ northbridge/amd/geodelx/pci (working copy)
@@ -1,24 +0,0 @@
-/*
- * This file is part of the coreboot project.
- *
- * Copyright (C) 2008 Ronald G. Minnich <rminnich at gmail.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-{
- device_operations = "geodelx_north_pci";
-};
-
Index: northbridge/amd/geodelx/apic
===================================================================
--- northbridge/amd/geodelx/apic (revision 605)
+++ northbridge/amd/geodelx/apic (working copy)
@@ -1,24 +0,0 @@
-/*
- * This file is part of the coreboot project.
- *
- * Copyright (C) 2008 Ronald G. Minnich <rminnich at gmail.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-{
- device_operations = "geodelx_north_apic";
-};
-
Index: northbridge/intel/i440bxemulation/domain
===================================================================
--- northbridge/intel/i440bxemulation/domain (revision 605)
+++ northbridge/intel/i440bxemulation/domain (working copy)
@@ -1,24 +0,0 @@
-/*
- * This file is part of the coreboot project.
- *
- * Copyright (C) 2007 Ronald G. Minnich <rminnich at gmail.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-{
- ramsize = "128";
- device_operations = "i440bx_domain";
-};
More information about the coreboot
mailing list