diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2007-12-18 14:54:38 +1100 |
---|---|---|
committer | Jon Loeliger <jdl@freescale.com> | 2007-12-18 07:54:30 -0600 |
commit | 376ab6f2ed5aac107ef197ff2ec401bf2a8239bd (patch) | |
tree | 032621d48dc479cf383d2b9ed4e7118248e27b0b /dtc.c | |
parent | d6f9b62fe1263c8266ba899144f29424e1c7a5b0 (diff) | |
download | dtc-376ab6f2ed5aac107ef197ff2ec401bf2a8239bd.zip dtc-376ab6f2ed5aac107ef197ff2ec401bf2a8239bd.tar.gz dtc-376ab6f2ed5aac107ef197ff2ec401bf2a8239bd.tar.bz2 |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |