summaryrefslogtreecommitdiff
path: root/util/buildrom/buildrom.c
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2008-01-18 15:08:58 +0000
committerStefan Reinauer <stepan@openbios.org>2008-01-18 15:08:58 +0000
commitf8ee1806ac524bc782c93eccc59ee3c929abddb9 (patch)
tree7daab6b3aa82476a10d38fbf68068f4a409d2ce9 /util/buildrom/buildrom.c
parent7e61e45402aba2b90997f4f02ca8266cf65a229a (diff)
Rename almost all occurences of LinuxBIOS to coreboot.
Due to the automatic nature of this update, I am self-acking. It worked in abuild. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3053 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/buildrom/buildrom.c')
-rw-r--r--util/buildrom/buildrom.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/util/buildrom/buildrom.c b/util/buildrom/buildrom.c
index 2fdd35cb0b..3d19389b94 100644
--- a/util/buildrom/buildrom.c
+++ b/util/buildrom/buildrom.c
@@ -20,7 +20,7 @@
void usage()
{
fprintf(stderr, "Usage: buildrom <input> <output> <payload> ");
- fprintf(stderr, " <linuxbios-size> <total-size>\n");
+ fprintf(stderr, " <coreboot-size> <total-size>\n");
exit(1);
}
@@ -57,22 +57,22 @@ int main(int argc, char *argv[])
if (fstat(infd, &inbuf) < 0)
fatal("stat of infile");
if (inbuf.st_size > size) {
- fprintf(stderr, "linuxbios image is %d bytes; only %d allowed\n",
+ fprintf(stderr, "coreboot image is %d bytes; only %d allowed\n",
(int)inbuf.st_size, size);
- fatal("Linuxbios input file larger than allowed size!\n");
+ fatal("Coreboot input file larger than allowed size!\n");
}
if (fstat(payloadfd, &payloadbuf) < 0)
fatal("stat of infile");
if (payloadbuf.st_size > (romsize - size)){
- fprintf(stderr, "ERROR: payload (%d) + linuxbios (%d) - Size is %d bytes larger than ROM size (%d).\n",
+ fprintf(stderr, "ERROR: payload (%d) + coreboot (%d) - Size is %d bytes larger than ROM size (%d).\n",
payloadbuf.st_size, size,
payloadbuf.st_size+size-romsize,
romsize);
exit(1);
}
- printf("Payload: %d LinuxBIOS: %d ROM size: %d Left space: %d\n",
+ printf("Payload: %d coreboot: %d ROM size: %d Left space: %d\n",
payloadbuf.st_size, size, romsize,
romsize-payloadbuf.st_size-size);