summaryrefslogtreecommitdiff
path: root/dtc.c
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2007-12-18 14:54:38 +1100
committerJon Loeliger <jdl@freescale.com>2007-12-18 07:54:30 -0600
commit376ab6f2ed5aac107ef197ff2ec401bf2a8239bd (patch)
tree032621d48dc479cf383d2b9ed4e7118248e27b0b /dtc.c
parentd6f9b62fe1263c8266ba899144f29424e1c7a5b0 (diff)
downloaddtc-376ab6f2ed5aac107ef197ff2ec401bf2a8239bd.tar.gz
dtc: Remove remaining old-style checks
The remaining old-style tree checking code: check_root(), check_cpus() and check_memory() really aren't that useful. They mostly check for the presence of particular nodes and properties. That's inherently prone to false-positives, because we could be dealing with an artificial tree (like many of the testcases) or it could be expected that the missing properties are filled in by a bootloader or other agent. If any of these checks really turns out to be useful, we can reimplement them later in a better conceived way on top of the new checking infrastructure. For now, just get rid of them, removing the last vestiges of the old-style checking code (hoorah). Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'dtc.c')
-rw-r--r--dtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dtc.c b/dtc.c
index 01131d7..6295b39 100644
--- a/dtc.c
+++ b/dtc.c
@@ -204,7 +204,7 @@ int main(int argc, char *argv[])
if (! bi || ! bi->dt)
die("Couldn't read input tree\n");
- process_checks(force, bi, check, outversion, boot_cpuid_phys);
+ process_checks(force, bi);
if (streq(outname, "-")) {
outf = stdout;