diff options
author | Ley Foon Tan <lftan@altera.com> | 2015-02-10 23:21:08 +0800 |
---|---|---|
committer | Ley Foon Tan <lftan@altera.com> | 2015-02-10 23:21:08 +0800 |
commit | e8bf5bc776edef44777b13b2eb4461d653519bae (patch) | |
tree | 91626d85686ba2938f0c1fa76633b790a76c3cfc /arch/nios2/include | |
parent | 96f3a5cc33baede169e0d330119090789e97e86b (diff) | |
download | op-kernel-dev-e8bf5bc776edef44777b13b2eb4461d653519bae.zip op-kernel-dev-e8bf5bc776edef44777b13b2eb4461d653519bae.tar.gz |
nios2: add early printk support
Signed-off-by: Ley Foon Tan <lftan@altera.com>
Diffstat (limited to 'arch/nios2/include')
-rw-r--r-- | arch/nios2/include/asm/prom.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/nios2/include/asm/prom.h b/arch/nios2/include/asm/prom.h new file mode 100644 index 0000000..75fffb4 --- /dev/null +++ b/arch/nios2/include/asm/prom.h @@ -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 |