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>
This commit is contained in:
Frans Hendriks 2018-11-22 14:21:12 +01:00 committed by Patrick Georgi
parent ada7fd6fe9
commit 166cbdec5b
2 changed files with 5 additions and 3 deletions

View File

@ -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 * 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 * 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 * section and the relocations can fit entirely within occupied memory
* region for the program. The other is that the relocations increase * region for the program. The other is that the relocations increase
* the memory footprint of the program if it was loaded directly into * 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. * is considered a part of the program.
*/ */
total_size += buffer_size(&rmod_header); total_size += buffer_size(&rmod_header);

View File

@ -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 * 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 * 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); 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); void rmodule_cleanup(struct rmod_context *ctx);
/* /*