nios2: add early printk support
Signed-off-by: Ley Foon Tan <lftan@altera.com>
This commit is contained in:
22
arch/nios2/include/asm/prom.h
Normal file
22
arch/nios2/include/asm/prom.h
Normal file
@@ -0,0 +1,22 @@
|
||||
/*
|
||||
* Copyright Altera Corporation (C) <2015>. All rights reserved
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms and conditions of the GNU General Public License,
|
||||
* version 2, as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along with
|
||||
* this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __ASM_NIOS2_PROM_H__
|
||||
#define __ASM_NIOS2_PROM_H__
|
||||
|
||||
extern unsigned long __init of_early_console(void);
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user