summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Zeh <werner.zeh@siemens.com>2016-01-12 12:32:37 +0100
committerWerner Zeh <werner.zeh@siemens.com>2016-01-13 06:07:29 +0100
commitd274c99ad73c60e93ee22e33f4794e47ec3ffb52 (patch)
tree41695b43ce4591e44ca0e9b88f081cdf07310005
parentdaa9e12bc536b9d830de276934171ef1ce921e3f (diff)
downloadcoreboot-d274c99ad73c60e93ee22e33f4794e47ec3ffb52.tar.xz
cbfstool: Remove duplicate code line
Remove duplicate line which sets baseaddress parameter. Change-Id: Idfbb0297e413344be892fa1ecc676a64d20352bf Signed-off-by: Werner Zeh <werner.zeh@siemens.com> Reviewed-on: https://review.coreboot.org/12904 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
-rw-r--r--util/cbfstool/cbfstool.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/util/cbfstool/cbfstool.c b/util/cbfstool/cbfstool.c
index 6c130c8567..276c159d96 100644
--- a/util/cbfstool/cbfstool.c
+++ b/util/cbfstool/cbfstool.c
@@ -1276,7 +1276,6 @@ int main(int argc, char **argv)
param.baseaddress = strtoul(optarg, NULL, 0);
// baseaddress may be zero on non-x86, so we
// need an explicit "baseaddress_assigned".
- param.baseaddress = strtoul(optarg, NULL, 0);
param.baseaddress_assigned = 1;
break;
case 'l':