summaryrefslogtreecommitdiffstats
path: root/util/nvramtool
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@secunet.com>2011-01-28 07:50:33 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2011-01-28 07:50:33 +0000
commit49a74437aab0c253243e62aca20966cf22f864e6 (patch)
tree39029f616f52208a7f8ceff671f7acbae210a3ae /util/nvramtool
parent582d369fbdaed82a05a7f494998ab44bdb28c474 (diff)
downloadcoreboot-49a74437aab0c253243e62aca20966cf22f864e6.tar.gz
coreboot-49a74437aab0c253243e62aca20966cf22f864e6.tar.bz2
coreboot-49a74437aab0c253243e62aca20966cf22f864e6.zip
Move the parser for cmos.layout text files to accessors
Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com> Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6312 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/nvramtool')
-rw-r--r--util/nvramtool/Makefile2
-rw-r--r--util/nvramtool/accessors/layout-text.c (renamed from util/nvramtool/layout_file.c)4
-rw-r--r--util/nvramtool/accessors/layout-text.h (renamed from util/nvramtool/layout_file.h)0
-rw-r--r--util/nvramtool/cli/nvramtool.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/util/nvramtool/Makefile b/util/nvramtool/Makefile
index 673b394455c4..ff9072e2b640 100644
--- a/util/nvramtool/Makefile
+++ b/util/nvramtool/Makefile
@@ -30,7 +30,7 @@ CFLAGS = -O2 -g -Wall -W -I.
CLI_OBJS = cli/nvramtool.o cli/opts.o
OBJS = cmos_lowlevel.o cmos_ops.o common.o compute_ip_checksum.o \
- hexdump.o input_file.o layout.o layout_file.o lbtable.o \
+ hexdump.o input_file.o layout.o accessors/layout-text.o lbtable.o \
reg_expr.o cbfs.o
OBJS += $(CLI_OBJS)
diff --git a/util/nvramtool/layout_file.c b/util/nvramtool/accessors/layout-text.c
index 535554f704e0..5f7cadea97e4 100644
--- a/util/nvramtool/layout_file.c
+++ b/util/nvramtool/accessors/layout-text.c
@@ -1,5 +1,5 @@
/*****************************************************************************\
- * layout_file.c
+ * layout-text.c
*****************************************************************************
* Copyright (C) 2002-2005 The Regents of the University of California.
* Produced at the Lawrence Livermore National Laboratory.
@@ -29,7 +29,7 @@
\*****************************************************************************/
#include "common.h"
-#include "layout_file.h"
+#include "layout-text.h"
#include "layout.h"
#include "cmos_lowlevel.h"
#include "reg_expr.h"
diff --git a/util/nvramtool/layout_file.h b/util/nvramtool/accessors/layout-text.h
index 21997e9a4626..21997e9a4626 100644
--- a/util/nvramtool/layout_file.h
+++ b/util/nvramtool/accessors/layout-text.h
diff --git a/util/nvramtool/cli/nvramtool.c b/util/nvramtool/cli/nvramtool.c
index e3e7e8875ad0..23de093fa086 100644
--- a/util/nvramtool/cli/nvramtool.c
+++ b/util/nvramtool/cli/nvramtool.c
@@ -36,7 +36,7 @@
#include "opts.h"
#include "lbtable.h"
#include "layout.h"
-#include "layout_file.h"
+#include "accessors/layout-text.h"
#include "input_file.h"
#include "cmos_ops.h"
#include "cmos_lowlevel.h"