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.h | |
parent | d6f9b62fe1263c8266ba899144f29424e1c7a5b0 (diff) | |
download | dtc-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.h')
-rw-r--r-- | dtc.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -240,8 +240,7 @@ struct boot_info *build_boot_info(struct reserve_info *reservelist, /* Checks */ -void process_checks(int force, struct boot_info *bi, - int checkflag, int outversion, int boot_cpuid_phys); +void process_checks(int force, struct boot_info *bi); /* Flattened trees */ |