Author: oxygene
Date: Fri Nov 19 11:16:43 2010
New Revision: 6097
URL: https://tracker.coreboot.org/trac/coreboot/changeset/6097
Log:
Add test to check for up-to-date GPL license headers to lint.
"make lint" should not stop after first failed test.
Improve "make lint" output.
Signed-off-by: Patrick Georgi <patrick.georgi(a)coresystems.de>
Acked-by: Patrick Georgi <patrick.georgi(a)coresystems.de>
Added:
trunk/util/lint/lint-000-license-headers (contents, props changed)
Modified:
trunk/Makefile
trunk/util/lint/lint-001-no-global-config-in-romstage
Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile Fri Nov 19 01:29:32 2010 (r6096)
+++ trunk/Makefile Fri Nov 19 11:16:43 2010 (r6097)
@@ -367,9 +367,9 @@
dongle.py -c /dev/term/1 $(obj)/coreboot.rom EOF
lint:
- LINTLOG=`mktemp`; \
+ FAILED=0; LINTLOG=`mktemp`; \
for script in util/lint/lint-*; do \
- echo `basename $$script`; \
+ echo; echo `basename $$script`; \
grep "^# DESCR:" $$script | sed "s,.*DESCR: *,," ; \
echo ========; \
$$script > $$LINTLOG; \
@@ -379,9 +379,11 @@
echo test failed: ; \
cat $$LINTLOG; \
rm -f $$LINTLOG; \
- exit 1; \
- fi \
+ FAILED=$$(( $$FAILED + 1 )); \
+ fi; \
+ echo ========; \
done; \
+ test $$FAILED -eq 0 || { echo "ERROR: $$FAILED test(s) failed." && exit 1; }; \
rm -f $$LINTLOG
# This include must come _before_ the pattern rules below!
Added: trunk/util/lint/lint-000-license-headers
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/util/lint/lint-000-license-headers Fri Nov 19 11:16:43 2010 (r6097)
@@ -0,0 +1,34 @@
+#!/bin/sh
+# This file is part of the coreboot project.
+#
+# Copyright (C) 2010 coresystems GmbH
+#
+# 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; version 2 of the License.
+#
+# 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
+#
+#
+# DESCR: Check that all files in src/ and util/ have valid license headers
+
+LC_ALL=C export LC_ALL
+find src util -name .svn -type d -prune -o \
+ -name README -prune -o \
+ -name LICENSE -prune -o \
+ -name TODO -prune -o \
+ -name COPYING -prune -o \
+ -name microcode-\*.h -prune -o \
+ -name \*.[18] -prune -o \
+ -name romcc -type d -prune -o \
+ -name crossgcc -type d -prune -o \
+ -type f -exec \
+ grep -L "51 Franklin St, Fifth Floor, Boston" {} + | \
+ sed -e "s,^.*$,File & has no valid GPL header.,"
Modified: trunk/util/lint/lint-001-no-global-config-in-romstage
==============================================================================
--- trunk/util/lint/lint-001-no-global-config-in-romstage Fri Nov 19 01:29:32 2010 (r6096)
+++ trunk/util/lint/lint-001-no-global-config-in-romstage Fri Nov 19 11:16:43 2010 (r6097)
@@ -1,5 +1,23 @@
#!/bin/sh
-# DESCR: Check that no symbols #defined in any romstage.c is used elsewhere
+# This file is part of the coreboot project.
+#
+# Copyright (C) 2010 coresystems GmbH
+#
+# 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; version 2 of the License.
+#
+# 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
+#
+# DESCR: Check that no symbol #defined in any romstage.c is used elsewhere
+
DEFINES=`grep "#define" src/mainboard/*/*/romstage.c |sed 's,.*#define[\t ]\([^\t ]*\)[\t ].*,\1,' | grep -v "(" | sort -u`
SCANBUCKET=`mktemp`
LC_ALL=C export LC_ALL
Author: uwe
Date: Thu Nov 18 21:12:13 2010
New Revision: 6095
URL: https://tracker.coreboot.org/trac/coreboot/changeset/6095
Log:
Fix/drop some obsolete comments,
- s/Options.lb/devicetree.cb/
- s/Config.lb/devicetree.cb/
- s/cache_as_ram_auto.c/romstage.c/
- h8dmr_fam10/README: Drop obsolete comment, we have mc_patch_01000086.h in
the tree now.
Signed-off-by: Uwe Hermann <uwe(a)hermann-uwe.de>
Acked-by: Uwe Hermann <uwe(a)hermann-uwe.de>
Modified:
trunk/src/mainboard/amd/mahogany_fam10/spd_addr.h
trunk/src/mainboard/amd/norwich/romstage.c
trunk/src/mainboard/amd/tilapia_fam10/spd_addr.h
trunk/src/mainboard/asus/m4a785-m/spd_addr.h
trunk/src/mainboard/iei/kino-780am2-fam10/spd_addr.h
trunk/src/mainboard/intel/xe7501devkit/acpi_tables.c
trunk/src/mainboard/intel/xe7501devkit/mptable.c
trunk/src/mainboard/supermicro/h8dmr_fam10/README
trunk/src/mainboard/traverse/geos/romstage.c
trunk/src/mainboard/via/epia-m700/acpi_tables.c
trunk/src/mainboard/via/epia-n/acpi_tables.c
trunk/src/northbridge/amd/amdk8/northbridge.c
trunk/src/northbridge/amd/lx/grphinit.c
trunk/src/northbridge/intel/i945/early_init.c
trunk/src/southbridge/intel/i82801ax/i82801ax_lpc.c
trunk/src/southbridge/intel/i82801bx/i82801bx_lpc.c
trunk/src/southbridge/intel/i82801gx/i82801gx_ide.c
trunk/src/southbridge/intel/i82801gx/i82801gx_sata.c
trunk/src/southbridge/intel/i82870/p64h2_ioapic.c
Modified: trunk/src/mainboard/amd/mahogany_fam10/spd_addr.h
==============================================================================
--- trunk/src/mainboard/amd/mahogany_fam10/spd_addr.h Thu Nov 18 20:40:33 2010 (r6094)
+++ trunk/src/mainboard/amd/mahogany_fam10/spd_addr.h Thu Nov 18 21:12:13 2010 (r6095)
@@ -19,7 +19,7 @@
/**
* This file defines the SPD addresses for the mainboard. Must be included in
- * cache_as_ram_auto.c
+ * romstage.c
*/
#define RC00 0
Modified: trunk/src/mainboard/amd/norwich/romstage.c
==============================================================================
--- trunk/src/mainboard/amd/norwich/romstage.c Thu Nov 18 20:40:33 2010 (r6094)
+++ trunk/src/mainboard/amd/norwich/romstage.c Thu Nov 18 21:12:13 2010 (r6095)
@@ -77,7 +77,7 @@
/* cs5536_disable_internal_uart: disable them for now, set them
* up later...
*/
- /* If debug. real setup done in chipset init via Config.lb. */
+ /* If debug. real setup done in chipset init via devicetree.cb. */
cs5536_setup_onchipuart(1);
mb_gpio_init();
uart_init();
Modified: trunk/src/mainboard/amd/tilapia_fam10/spd_addr.h
==============================================================================
--- trunk/src/mainboard/amd/tilapia_fam10/spd_addr.h Thu Nov 18 20:40:33 2010 (r6094)
+++ trunk/src/mainboard/amd/tilapia_fam10/spd_addr.h Thu Nov 18 21:12:13 2010 (r6095)
@@ -19,7 +19,7 @@
/**
* This file defines the SPD addresses for the mainboard. Must be included in
- * cache_as_ram_auto.c
+ * romstage.c
*/
#define RC00 0
Modified: trunk/src/mainboard/asus/m4a785-m/spd_addr.h
==============================================================================
--- trunk/src/mainboard/asus/m4a785-m/spd_addr.h Thu Nov 18 20:40:33 2010 (r6094)
+++ trunk/src/mainboard/asus/m4a785-m/spd_addr.h Thu Nov 18 21:12:13 2010 (r6095)
@@ -19,7 +19,7 @@
/**
* This file defines the SPD addresses for the mainboard. Must be included in
- * cache_as_ram_auto.c
+ * romstage.c
*/
#define RC00 0
Modified: trunk/src/mainboard/iei/kino-780am2-fam10/spd_addr.h
==============================================================================
--- trunk/src/mainboard/iei/kino-780am2-fam10/spd_addr.h Thu Nov 18 20:40:33 2010 (r6094)
+++ trunk/src/mainboard/iei/kino-780am2-fam10/spd_addr.h Thu Nov 18 21:12:13 2010 (r6095)
@@ -19,7 +19,7 @@
/**
* This file defines the SPD addresses for the mainboard. Must be included in
- * cache_as_ram_auto.c
+ * romstage.c
*/
#define RC00 0
Modified: trunk/src/mainboard/intel/xe7501devkit/acpi_tables.c
==============================================================================
--- trunk/src/mainboard/intel/xe7501devkit/acpi_tables.c Thu Nov 18 20:40:33 2010 (r6094)
+++ trunk/src/mainboard/intel/xe7501devkit/acpi_tables.c Thu Nov 18 21:12:13 2010 (r6095)
@@ -55,7 +55,7 @@
// P64H2#2 Bus A IOAPIC
dev = dev_find_slot(PCI_BUS_E7501_HI_B, PCI_DEVFN(30, 0));
if (!dev)
- BUG(); // Config.lb error?
+ BUG();
res = find_resource(dev, PCI_BASE_ADDRESS_0);
current += acpi_create_madt_ioapic((acpi_madt_ioapic_t *)current, IOAPIC_P64H2_2_BUS_A, res->base, irq_start);
irq_start += INTEL_IOAPIC_NUM_INTERRUPTS;
@@ -63,7 +63,7 @@
// P64H2#2 Bus B IOAPIC
dev = dev_find_slot(PCI_BUS_E7501_HI_B, PCI_DEVFN(28, 0));
if (!dev)
- BUG(); // Config.lb error?
+ BUG();
res = find_resource(dev, PCI_BASE_ADDRESS_0);
current += acpi_create_madt_ioapic((acpi_madt_ioapic_t *)current, IOAPIC_P64H2_2_BUS_B, res->base, irq_start);
irq_start += INTEL_IOAPIC_NUM_INTERRUPTS;
@@ -72,7 +72,7 @@
// P64H2#1 Bus A IOAPIC
dev = dev_find_slot(PCI_BUS_E7501_HI_D, PCI_DEVFN(30, 0));
if (!dev)
- BUG(); // Config.lb error?
+ BUG();
res = find_resource(dev, PCI_BASE_ADDRESS_0);
current += acpi_create_madt_ioapic((acpi_madt_ioapic_t *)current, IOAPIC_P64H2_1_BUS_A, res->base, irq_start);
irq_start += INTEL_IOAPIC_NUM_INTERRUPTS;
@@ -80,7 +80,7 @@
// P64H2#1 Bus B IOAPIC
dev = dev_find_slot(PCI_BUS_E7501_HI_D, PCI_DEVFN(28, 0));
if (!dev)
- BUG(); // Config.lb error?
+ BUG();
res = find_resource(dev, PCI_BASE_ADDRESS_0);
current += acpi_create_madt_ioapic((acpi_madt_ioapic_t *)current, IOAPIC_P64H2_1_BUS_B, res->base, irq_start);
irq_start += INTEL_IOAPIC_NUM_INTERRUPTS;
Modified: trunk/src/mainboard/intel/xe7501devkit/mptable.c
==============================================================================
--- trunk/src/mainboard/intel/xe7501devkit/mptable.c Thu Nov 18 20:40:33 2010 (r6094)
+++ trunk/src/mainboard/intel/xe7501devkit/mptable.c Thu Nov 18 21:12:13 2010 (r6095)
@@ -42,14 +42,14 @@
// P64H2#2 Bus A IOAPIC
dev = dev_find_slot(PCI_BUS_E7501_HI_B, PCI_DEVFN(30, 0));
if (!dev)
- BUG(); // Config.lb error?
+ BUG();
res = find_resource(dev, PCI_BASE_ADDRESS_0);
smp_write_ioapic(mc, IOAPIC_P64H2_2_BUS_A, P64H2_IOAPIC_VERSION, res->base);
// P64H2#2 Bus B IOAPIC
dev = dev_find_slot(PCI_BUS_E7501_HI_B, PCI_DEVFN(28, 0));
if (!dev)
- BUG(); // Config.lb error?
+ BUG();
res = find_resource(dev, PCI_BASE_ADDRESS_0);
smp_write_ioapic(mc, IOAPIC_P64H2_2_BUS_B, P64H2_IOAPIC_VERSION, res->base);
@@ -57,14 +57,14 @@
// P64H2#1 Bus A IOAPIC
dev = dev_find_slot(PCI_BUS_E7501_HI_D, PCI_DEVFN(30, 0));
if (!dev)
- BUG(); // Config.lb error?
+ BUG();
res = find_resource(dev, PCI_BASE_ADDRESS_0);
smp_write_ioapic(mc, IOAPIC_P64H2_1_BUS_A, P64H2_IOAPIC_VERSION, res->base);
// P64H2#1 Bus B IOAPIC
dev = dev_find_slot(PCI_BUS_E7501_HI_D, PCI_DEVFN(28, 0));
if (!dev)
- BUG(); // Config.lb error?
+ BUG();
res = find_resource(dev, PCI_BASE_ADDRESS_0);
smp_write_ioapic(mc, IOAPIC_P64H2_1_BUS_B, P64H2_IOAPIC_VERSION, res->base);
}
Modified: trunk/src/mainboard/supermicro/h8dmr_fam10/README
==============================================================================
--- trunk/src/mainboard/supermicro/h8dmr_fam10/README Thu Nov 18 20:40:33 2010 (r6094)
+++ trunk/src/mainboard/supermicro/h8dmr_fam10/README Thu Nov 18 21:12:13 2010 (r6095)
@@ -2,10 +2,6 @@
There are a number of outstanding issues:
-* we don't have the mc_patch_01000086.h CPU ucode file yet which is
-referenced in a comment in src/mainboard/supermicro/h8dmr_fam10/Options.lb.
-AMD has not released it yet. This is not a problem specific to this port.
-
* I'm seeing toolchain issues. I can't get this tree to compile correctly with
gcc 4.3 (32 bit) - there is an optimization issue where certain parts of the
CBFS code execute very slowly. With gcc 3.4 (32 bit) that slowness
Modified: trunk/src/mainboard/traverse/geos/romstage.c
==============================================================================
--- trunk/src/mainboard/traverse/geos/romstage.c Thu Nov 18 20:40:33 2010 (r6094)
+++ trunk/src/mainboard/traverse/geos/romstage.c Thu Nov 18 21:12:13 2010 (r6095)
@@ -78,7 +78,7 @@
/* cs5536_disable_internal_uart: disable them for now, set them
* up later...
*/
- /* If debug. real setup done in chipset init via Config.lb. */
+ /* If debug. real setup done in chipset init via devicetree.cb. */
cs5536_setup_onchipuart(1);
mb_gpio_init();
uart_init();
Modified: trunk/src/mainboard/via/epia-m700/acpi_tables.c
==============================================================================
--- trunk/src/mainboard/via/epia-m700/acpi_tables.c Thu Nov 18 20:40:33 2010 (r6094)
+++ trunk/src/mainboard/via/epia-m700/acpi_tables.c Thu Nov 18 21:12:13 2010 (r6095)
@@ -42,9 +42,9 @@
/*
* These four macros are copied from <arch/smp/mpspec.h>, I have to do this
- * since the "default CONFIG_GENERATE_MP_TABLE = 0" in Options.lb, and also since
+ * since the "CONFIG_GENERATE_MP_TABLE = 0", and also since
* mainboard/via/... have no mptable.c (so that I can not set
- * CONFIG_GENERATE_MP_TABLE = 1) as many other mainboards.
+ * "CONFIG_GENERATE_MP_TABLE = 1" as many other mainboards.
* So I have to copy these four to here. acpi_fill_madt() needs this.
*/
#define MP_IRQ_POLARITY_HIGH 0x1
Modified: trunk/src/mainboard/via/epia-n/acpi_tables.c
==============================================================================
--- trunk/src/mainboard/via/epia-n/acpi_tables.c Thu Nov 18 20:40:33 2010 (r6094)
+++ trunk/src/mainboard/via/epia-n/acpi_tables.c Thu Nov 18 21:12:13 2010 (r6095)
@@ -39,10 +39,10 @@
extern const unsigned char AmlCode[];
/*
- * These four macros are copied from <arch/smp/mpspec.h>, I have to do this
- * since the "default CONFIG_GENERATE_MP_TABLE = 0" in Options.lb, and also since
+ * These 8 macros are copied from <arch/smp/mpspec.h>, I have to do this
+ * since the "CONFIG_GENERATE_MP_TABLE = 0", and also since
* mainboard/via/... have no mptable.c (so that I can not set
- * CONFIG_GENERATE_MP_TABLE = 1) as many other mainboards.
+ * "CONFIG_GENERATE_MP_TABLE = 1" as many other mainboards.
* So I have to copy these four to here. acpi_fill_madt() needs this.
*/
#define MP_IRQ_POLARITY_DEFAULT 0x0
Modified: trunk/src/northbridge/amd/amdk8/northbridge.c
==============================================================================
--- trunk/src/northbridge/amd/amdk8/northbridge.c Thu Nov 18 20:40:33 2010 (r6094)
+++ trunk/src/northbridge/amd/amdk8/northbridge.c Thu Nov 18 21:12:13 2010 (r6095)
@@ -1,6 +1,6 @@
/* This should be done by Eric
2004.12 yhlu add dual core support
- 2005.01 yhlu add support move apic before pci_domain in MB Config.lb
+ 2005.01 yhlu add support move apic before pci_domain in MB devicetree.cb
2005.02 yhlu add e0 memory hole support
2005.11 yhlu add put sb ht chain on bus 0
*/
Modified: trunk/src/northbridge/amd/lx/grphinit.c
==============================================================================
--- trunk/src/northbridge/amd/lx/grphinit.c Thu Nov 18 20:40:33 2010 (r6094)
+++ trunk/src/northbridge/amd/lx/grphinit.c Thu Nov 18 21:12:13 2010 (r6095)
@@ -85,7 +85,7 @@
* Controller Priority Select(11) 1, Primary
* Display Select(10:8) 0x0, CRT
* Graphics Memory Size(7:1) CONFIG_VIDEO_MB >> 1,
- * defined in mainboard/../Options.lb
+ * defined in devicetree.cb
* PLL Reference Clock Bypass(0) 0, Default
*/
Modified: trunk/src/northbridge/intel/i945/early_init.c
==============================================================================
--- trunk/src/northbridge/intel/i945/early_init.c Thu Nov 18 20:40:33 2010 (r6094)
+++ trunk/src/northbridge/intel/i945/early_init.c Thu Nov 18 21:12:13 2010 (r6095)
@@ -570,7 +570,7 @@
/* Setup SLOTCAP */
/* TODO: These values are mainboard dependent and should
- * be set from Config.lb or Options.lb.
+ * be set from devicetree.cb.
*/
/* NOTE: SLOTCAP becomes RO after the first write! */
reg32 = pcie_read_config32(PCI_DEV(0, 0x01, 0), 0xb4);
Modified: trunk/src/southbridge/intel/i82801ax/i82801ax_lpc.c
==============================================================================
--- trunk/src/southbridge/intel/i82801ax/i82801ax_lpc.c Thu Nov 18 20:40:33 2010 (r6094)
+++ trunk/src/southbridge/intel/i82801ax/i82801ax_lpc.c Thu Nov 18 21:12:13 2010 (r6095)
@@ -68,7 +68,7 @@
/*
* Use 0x0ef8 for a bitmap to cover all these IRQ's.
* Use the defined IRQ values above or set mainboard
- * specific IRQ values in your mainboards Config.lb.
+ * specific IRQ values in your devicetree.cb.
*/
static void i82801ax_enable_apic(struct device *dev)
{
Modified: trunk/src/southbridge/intel/i82801bx/i82801bx_lpc.c
==============================================================================
--- trunk/src/southbridge/intel/i82801bx/i82801bx_lpc.c Thu Nov 18 20:40:33 2010 (r6094)
+++ trunk/src/southbridge/intel/i82801bx/i82801bx_lpc.c Thu Nov 18 21:12:13 2010 (r6095)
@@ -70,7 +70,7 @@
/*
* Use 0x0ef8 for a bitmap to cover all these IRQ's.
* Use the defined IRQ values above or set mainboard
- * specific IRQ values in your mainboards Config.lb.
+ * specific IRQ values in your devicetree.cb.
*/
static void i82801bx_enable_apic(struct device *dev)
{
Modified: trunk/src/southbridge/intel/i82801gx/i82801gx_ide.c
==============================================================================
--- trunk/src/southbridge/intel/i82801gx/i82801gx_ide.c Thu Nov 18 20:40:33 2010 (r6094)
+++ trunk/src/southbridge/intel/i82801gx/i82801gx_ide.c Thu Nov 18 21:12:13 2010 (r6095)
@@ -37,7 +37,7 @@
printk(BIOS_DEBUG, "i82801gx_ide: initializing... ");
if (config == NULL) {
- printk(BIOS_ERR, "\ni82801gx_ide: Not mentioned in mainboard's Config.lb!\n");
+ printk(BIOS_ERR, "\ni82801gx_ide: Not mentioned in devicetree.cb!\n");
// Trying to set somewhat safe defaults instead of bailing out.
enable_primary = enable_secondary = 1;
} else {
Modified: trunk/src/southbridge/intel/i82801gx/i82801gx_sata.c
==============================================================================
--- trunk/src/southbridge/intel/i82801gx/i82801gx_sata.c Thu Nov 18 20:40:33 2010 (r6094)
+++ trunk/src/southbridge/intel/i82801gx/i82801gx_sata.c Thu Nov 18 21:12:13 2010 (r6095)
@@ -36,7 +36,7 @@
printk(BIOS_DEBUG, "i82801gx_sata: initializing...\n");
if (config == NULL) {
- printk(BIOS_ERR, "i82801gx_sata: error: device not in Config.lb!\n");
+ printk(BIOS_ERR, "i82801gx_sata: error: device not in devicetree.cb!\n");
return;
}
Modified: trunk/src/southbridge/intel/i82870/p64h2_ioapic.c
==============================================================================
--- trunk/src/southbridge/intel/i82870/p64h2_ioapic.c Thu Nov 18 20:40:33 2010 (r6094)
+++ trunk/src/southbridge/intel/i82870/p64h2_ioapic.c Thu Nov 18 21:12:13 2010 (r6095)
@@ -40,10 +40,10 @@
// A note on IOAPIC addresses:
// 0 and 1 are used for the local APICs of the dual virtual
- // (hyper-threaded) CPUs of physical CPU 0 (mainboard/Config.lb).
+ // (hyper-threaded) CPUs of physical CPU 0 (devicetree.cb).
// 6 and 7 are used for the local APICs of the dual virtual
- // (hyper-threaded) CPUs of physical CPU 1 (mainboard/Config.lb).
- // 2 is used for the IOAPIC in the 82801 Southbridge (hard-coded in i82801xx_lpc.c)
+ // (hyper-threaded) CPUs of physical CPU 1 (devicetree.cb).
+ // 2 is used for the IOAPIC in the 82801 southbridge (hard-coded in i82801xx_lpc.c)
// Map APIC index into APIC ID
// IDs 3, 4, 5, and 8+ are available (see above note)
Author: stepan
Date: Fri Nov 19 01:29:32 2010
New Revision: 6096
URL: https://tracker.coreboot.org/trac/coreboot/changeset/6096
Log:
drop temp file from coreboot tree
Signed-off-by: Stefan Reinauer <stepan(a)coresystems.de>
Acked-by: Stefan Reinauer <stepan(a)coresystems.de>
Deleted:
trunk/util/k8resdump/.dependencies
Author: oxygene
Date: Thu Nov 18 16:07:06 2010
New Revision: 6092
URL: https://tracker.coreboot.org/trac/coreboot/changeset/6092
Log:
lint tests can now describe what they do (for the benefit of
make lint users)
Signed-off-by: Patrick Georgi <patrick(a)georgi-clan.de>
Acked-by: Patrick Georgi <patrick(a)georgi-clan.de>
Modified:
trunk/util/lint/lint-001-no-global-config-in-romstage
Modified: trunk/util/lint/lint-001-no-global-config-in-romstage
==============================================================================
--- trunk/util/lint/lint-001-no-global-config-in-romstage Thu Nov 18 16:05:06 2010 (r6091)
+++ trunk/util/lint/lint-001-no-global-config-in-romstage Thu Nov 18 16:07:06 2010 (r6092)
@@ -1,4 +1,5 @@
#!/bin/sh
+# DESCR: Check that no symbols #defined in any romstage.c is used elsewhere
DEFINES=`grep "#define" src/mainboard/*/*/romstage.c |sed 's,.*#define[\t ]\([^\t ]*\)[\t ].*,\1,' | grep -v "(" | sort -u`
SCANBUCKET=`mktemp`
LC_ALL=C export LC_ALL