mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
cosmetic fixes.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@218 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
parent
d15ee6da72
commit
395bfb562f
2 changed files with 18 additions and 17 deletions
|
@ -1,15 +1,16 @@
|
||||||
#include <arch/types.h>
|
#include <arch/types.h>
|
||||||
#include <arch/hlt.h>
|
#include <arch/hlt.h>
|
||||||
|
#include <console/console.h>
|
||||||
#include <console/loglevel.h>
|
#include <console/loglevel.h>
|
||||||
#include <uart8250.h>
|
#include <uart8250.h>
|
||||||
|
|
||||||
// FIXME: we need this for varargs
|
// FIXME: we need this for varargs
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
||||||
extern int vtxprintf(void (*)(unsigned char, void *arg), void *arg,
|
int vtxprintf(void (*)(unsigned char, void *arg),
|
||||||
const char *, va_list);
|
void *arg, const char *, va_list);
|
||||||
|
|
||||||
int console_loglevel(void)
|
static int console_loglevel(void)
|
||||||
{
|
{
|
||||||
return CONFIG_DEFAULT_CONSOLE_LOGLEVEL;
|
return CONFIG_DEFAULT_CONSOLE_LOGLEVEL;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,19 +1,19 @@
|
||||||
/*
|
/*
|
||||||
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
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
(at your option) any later version.
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
This program is distributed in the hope that it will be useful,
|
* This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
*/
|
||||||
|
|
||||||
*/
|
|
||||||
#ifndef CONSOLE_CONSOLE_H_
|
#ifndef CONSOLE_CONSOLE_H_
|
||||||
#define CONSOLE_CONSOLE_H_
|
#define CONSOLE_CONSOLE_H_
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue