From b7eb1715ba9c66ee79a6c65162cde7d50631f3a0 Mon Sep 17 00:00:00 2001 From: Yasha Cherikovsky Date: Sat, 14 Nov 2015 19:16:58 +0200 Subject: coreinfo: Move screen dimensions to header The screen dimensions need to be known in other files. Change-Id: Idf6f02e4cadbece78096ccd464296ecec405574d Signed-off-by: Yasha Cherikovsky Reviewed-on: http://review.coreboot.org/12439 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Martin Roth --- payloads/coreinfo/coreinfo.c | 3 --- payloads/coreinfo/coreinfo.h | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'payloads') 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 -- cgit v1.2.3