summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-03-24 21:21:33 +0000
committerStefan Reinauer <stepan@openbios.org>2010-03-24 21:21:33 +0000
commita2e5f3713d2d23993fb754e49bda310ad5567ad6 (patch)
treebe6e66afcbb1b23fa458d6e942a59fe28d472cf2
parentbb44d0e7e003f7e9a43f55a6f357297092bc3471 (diff)
downloadcoreboot-a2e5f3713d2d23993fb754e49bda310ad5567ad6.tar.xz
Drop unneeded code that checks for CONFIG_ variables in
build_opt_tbl. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Myles Watson <mylesgw@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5284 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--util/options/build_opt_tbl.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/util/options/build_opt_tbl.c b/util/options/build_opt_tbl.c
index b606f8d7b1..44b28ac908 100644
--- a/util/options/build_opt_tbl.c
+++ b/util/options/build_opt_tbl.c
@@ -472,25 +472,6 @@ int main(int argc, char **argv)
fprintf(stderr, "Error - location is to big in line\n%s\n", line);
exit(1);
}
- /* And since we are not ready to be fully general purpose yet.. */
- if ((cs->range_start/8) != CONFIG_LB_CKS_RANGE_START) {
- fprintf(stderr, "Error - Range start((value in file #%d), which is byte #%d)"
- "does not match the value of the config variable LB_CKS_RANGE_START)(%d) in line\n%s\n",
- cs->range_start, cs->range_start/8, CONFIG_LB_CKS_RANGE_START, line);
- exit(1);
- }
- if ((cs->range_end/8) != CONFIG_LB_CKS_RANGE_END) {
- fprintf(stderr, "Error - Range end ((value in file #%d), which is byte #%d)"
- "does not match the value of the config variable LB_CKS_RANGE_END (%d) in line\n%s\n",
- cs->range_end, cs->range_end/8,
- CONFIG_LB_CKS_RANGE_END, line);
- exit(1);
- }
- if ((cs->location/8) != CONFIG_LB_CKS_LOC) {
- fprintf(stderr, "Error - Location ((value in file #%d), which is byte #%d) does not match LB_CKS_LOC (%d) in line\n%s\n",
- cs->location, cs->location/8, CONFIG_LB_CKS_LOC, line);
- exit(1);
- }
cs->tag = LB_TAG_OPTION_CHECKSUM;
cs->size = sizeof(*cs);