nios2: Remove <common.h> and add needed includes

Remove <common.h> from all nios2 architecture files and when needed add
missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini
2024-05-06 15:05:03 -06:00
parent d3127bca96
commit bac5d1b68a
5 changed files with 2 additions and 5 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
* Scott McNutt <smcnutt@psyent.com>
*/
#include <common.h>
#include <config.h>
#include <command.h>
#include <cpu.h>
#include <cpu_func.h>
-1
View File
@@ -7,7 +7,6 @@
* Scott McNutt <smcnutt@psyent.com>
*/
#include <common.h>
#include <command.h>
#include <irq_func.h>
#include <asm/nios2.h>
+1 -1
View File
@@ -4,8 +4,8 @@
* Scott McNutt <smcnutt@psyent.com>
*/
#include <common.h>
#include <hang.h>
#include <stdio.h>
#include <asm/ptrace.h>
void trap_handler (struct pt_regs *regs)
-1
View File
@@ -4,7 +4,6 @@
* Scott McNutt <smcnutt@psyent.com>
*/
#include <common.h>
#include <bootm.h>
#include <cpu_func.h>
#include <env.h>
-1
View File
@@ -5,7 +5,6 @@
* Implemented by fredrik.markstrom@gmail.com and ivarholmqvist@gmail.com
*/
#include <common.h>
#include <cpu_func.h>
#include <asm/cache.h>
#include <asm/global_data.h>