From 376ab6f2ed5aac107ef197ff2ec401bf2a8239bd Mon Sep 17 00:00:00 2001 From: David Gibson Date: Tue, 18 Dec 2007 14:54:38 +1100 Subject: 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 --- dtc.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'dtc.h') diff --git a/dtc.h b/dtc.h index 6528177..9b89689 100644 --- a/dtc.h +++ b/dtc.h @@ -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 */ -- cgit v1.2.1