nios2: move nios2.h to arch asm directory
The nios2.h is nios2 cpu specific, and should go arch asm directory. Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
This commit is contained in:
parent
8645071006
commit
57cfeb5140
@ -6,7 +6,7 @@
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <nios2.h>
|
||||
#include <asm/nios2.h>
|
||||
#include <asm/cache.h>
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
@ -9,7 +9,7 @@
|
||||
*/
|
||||
|
||||
|
||||
#include <nios2.h>
|
||||
#include <asm/nios2.h>
|
||||
#include <asm/types.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/ptrace.h>
|
||||
|
@ -5,8 +5,8 @@
|
||||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
|
||||
#ifndef __NIOS2_H__
|
||||
#define __NIOS2_H__
|
||||
#ifndef __ASM_NIOS2_H__
|
||||
#define __ASM_NIOS2_H__
|
||||
|
||||
/*------------------------------------------------------------------------
|
||||
* Control registers -- use with wrctl() & rdctl()
|
||||
@ -37,4 +37,4 @@
|
||||
#define CACHE_BYPASS(a) ((a) | 0x80000000)
|
||||
#define CACHE_NO_BYPASS(a) ((a) & ~0x80000000)
|
||||
|
||||
#endif /* __NIOS2_H__ */
|
||||
#endif /* __ASM_NIOS2_H__ */
|
Loading…
Reference in New Issue
Block a user