summaryrefslogtreecommitdiff
path: root/payloads/coreinfo
diff options
context:
space:
mode:
authorYasha Cherikovsky <yasha.che3@gmail.com>2015-11-14 19:16:58 +0200
committerMartin Roth <martinroth@google.com>2015-11-19 17:32:24 +0100
commitb7eb1715ba9c66ee79a6c65162cde7d50631f3a0 (patch)
treea5f9a049fac05f0926f05913c095b243e222d6fb /payloads/coreinfo
parent8fe681872b38c23a2a9172199d1e9c0edae12937 (diff)
downloadcoreboot-b7eb1715ba9c66ee79a6c65162cde7d50631f3a0.tar.xz
coreinfo: Move screen dimensions to header
The screen dimensions need to be known in other files. Change-Id: Idf6f02e4cadbece78096ccd464296ecec405574d Signed-off-by: Yasha Cherikovsky <yasha.che3@gmail.com> Reviewed-on: http://review.coreboot.org/12439 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'payloads/coreinfo')
-rw-r--r--payloads/coreinfo/coreinfo.c3
-rw-r--r--payloads/coreinfo/coreinfo.h3
2 files changed, 3 insertions, 3 deletions
diff --git a/payloads/coreinfo/coreinfo.c b/payloads/coreinfo/coreinfo.c
index a3833307db..41b5f12cb1 100644
--- a/payloads/coreinfo/coreinfo.c
+++ b/payloads/coreinfo/coreinfo.c
@@ -15,9 +15,6 @@
#include "coreinfo.h"
-#define SCREEN_Y 25
-#define SCREEN_X 80
-
#define KEY_ESC 27
extern struct coreinfo_module cpuinfo_module;
diff --git a/payloads/coreinfo/coreinfo.h b/payloads/coreinfo/coreinfo.h
index b1f91aa3cb..073c5f9a87 100644
--- a/payloads/coreinfo/coreinfo.h
+++ b/payloads/coreinfo/coreinfo.h
@@ -32,4 +32,7 @@ extern void docpuid(int, unsigned long *, unsigned long *, unsigned long *,
void print_module_title(WINDOW *win, const char *title);
+#define SCREEN_Y 25
+#define SCREEN_X 80
+
#endif