summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorFrans Hendriks <fhendriks@eltan.com>2018-11-22 14:21:12 +0100
committerPatrick Georgi <pgeorgi@google.com>2018-11-22 14:58:38 +0000
commit166cbdec5b042f28badedd09da1203c9a1feccfc (patch)
treec996ddd6f2854253c3cd2e58161af1b6bec88861 /util
parentada7fd6fe9f5e79b53742dec20bbed6c14badf6d (diff)
downloadcoreboot-166cbdec5b042f28badedd09da1203c9a1feccfc.tar.xz
util/cbfstool/rmodule.{c,h}: Fix typo and correct header
Header contains ':' in copyright line. rmdoule is a typo Remove the ';' and correct typo to rmodule. BUG=N/A TEST=N/A Change-Id: I05b1fb80a81682646c9fba3d234de235b6bc9e8c Signed-off-by: Frans Hendriks <fhendriks@eltan.com> Reviewed-on: https://review.coreboot.org/c/29794 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'util')
-rw-r--r--util/cbfstool/rmodule.c5
-rw-r--r--util/cbfstool/rmodule.h3
2 files changed, 5 insertions, 3 deletions
diff --git a/util/cbfstool/rmodule.c b/util/cbfstool/rmodule.c
index 07957cb474..ff8f1cdef2 100644
--- a/util/cbfstool/rmodule.c
+++ b/util/cbfstool/rmodule.c
@@ -1,5 +1,6 @@
/*
- ;* Copyright (C) 2014 Google, Inc.
+ * Copyright (C) 2014 Google, Inc.
+ * Copyright (C) 2018 Eltan B.V.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -540,7 +541,7 @@ write_elf(const struct rmod_context *ctx, const struct buffer *in,
* section and the relocations can fit entirely within occupied memory
* region for the program. The other is that the relocations increase
* the memory footprint of the program if it was loaded directly into
- * the region it would run. The rmdoule header is a fixed cost that
+ * the region it would run. The rmodule header is a fixed cost that
* is considered a part of the program.
*/
total_size += buffer_size(&rmod_header);
diff --git a/util/cbfstool/rmodule.h b/util/cbfstool/rmodule.h
index 192928aeea..abd8c027ac 100644
--- a/util/cbfstool/rmodule.h
+++ b/util/cbfstool/rmodule.h
@@ -1,5 +1,6 @@
/*
* Copyright (C) 2014 Google, Inc.
+ * Copyright (C) 2018 Eltan B.V.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -81,7 +82,7 @@ int rmodule_init(struct rmod_context *ctx, const struct buffer *elfin);
*/
int rmodule_collect_relocations(struct rmod_context *c, struct reloc_filter *f);
-/* Clean up the memory consumed by the rmdoule context. */
+/* Clean up the memory consumed by the rmodule context. */
void rmodule_cleanup(struct rmod_context *ctx);
/*