diff options
author | Alexandru Gagniuc <mr.nuke.me@gmail.com> | 2014-02-06 14:22:25 -0600 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2014-12-19 21:15:18 +0100 |
commit | 6c90f3334e65ff4b0ff4900df77bc33d53beb677 (patch) | |
tree | 382969b15e24d133aba4c10733bdf75833c74743 /util/getpir/checkpir.c | |
parent | cc47d9dcf8fc918732b3c1e17b6877d5f2f41afe (diff) |
util: Remove 'getpir' and 'mptable' tools
They create output in an obsolete form, are not actively maintained,
and the quality of the output is not better than randomly copy
pasting from other boards. These tools are no longer of any practical
value. remove them.
Change-Id: I49d7c5c86b908e08a3d79a06f5cb5b28cea1c806
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Reviewed-on: http://review.coreboot.org/5158
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util/getpir/checkpir.c')
-rw-r--r-- | util/getpir/checkpir.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/util/getpir/checkpir.c b/util/getpir/checkpir.c deleted file mode 100644 index c9703c6f3c..0000000000 --- a/util/getpir/checkpir.c +++ /dev/null @@ -1,31 +0,0 @@ -/* checkpir.c : This software is released under GPL - * For coreboot use only - * Aug 26 2001 , Nikolai Vladychevski, <niko@isl.net.mx> - */ - -#include <stdio.h> -#include "pirq_routing.h" -#include "checksum.h" - -struct irq_routing_table *rt; - -int main(void) -{ - uint8_t sum, newsum; - - rt = (struct irq_routing_table *) &intel_irq_routing_table; - sum = calc_checksum(rt); - - printf("Validating checksum, file: irq_tables.c that was in ./ at compile time...\n"); - printf("(no other tests are done)\n"); - - if (!sum) { - printf("Checksum for IRQ Routing table is ok. You can use irq_tables.c in coreboot now.\n"); - } else { - newsum = rt->checksum - sum; - printf("BAD CHECKSUM for IRQ Routing table !!!!\n"); - printf("If you want to make it valid, change the checksum to: %#x\n", - newsum); - } - return 0; -} |