microblaze: Remove common.h usage

We can remove common.h from most cases of the code here, and only a few
places need an additional header instead.

Signed-off-by: Tom Rini <trini@konsulko.com>
Acked-by: Michal Simek <michal.simek@amd.com>
This commit is contained in:
Tom Rini 2023-10-12 19:03:57 -04:00
parent 07011890a6
commit 577dddb5b7
10 changed files with 7 additions and 9 deletions

View File

@ -5,7 +5,6 @@
* Michal SIMEK <monstr@monstr.eu>
*/
#include <common.h>
#include <cpu_func.h>
#include <asm/asm.h>
#include <asm/cache.h>

View File

@ -2,7 +2,6 @@
/*
* Copyright (C) 2022, Ovidiu Panait <ovpanait@gmail.com>
*/
#include <common.h>
#include <asm/cpuinfo.h>
#include <asm/global_data.h>

View File

@ -5,8 +5,8 @@
* Michal SIMEK <monstr@monstr.eu>
*/
#include <common.h>
#include <hang.h>
#include <stdio.h>
#include <asm/asm.h>
void _hw_exception_handler (void)

View File

@ -7,7 +7,8 @@
* Yasushi SHOJI <yashi@atmark-techno.com>
*/
#include <common.h>
#include <log.h>
#include <vsprintf.h>
#include <asm/asm.h>
void enable_interrupts(void)

View File

@ -2,7 +2,6 @@
/*
* Copyright (C) 2022, Ovidiu Panait <ovpanait@gmail.com>
*/
#include <common.h>
#include <asm/asm.h>
#include <asm/pvr.h>

View File

@ -4,8 +4,9 @@
* Michal Simek <michal.simek@amd.com>
*/
#include <common.h>
#include <elf.h>
#include <log.h>
#include <linux/types.h>
#define R_MICROBLAZE_NONE 0
#define R_MICROBLAZE_32 1

View File

@ -5,7 +5,6 @@
* Michal Simek <michal.simek@amd.com>
*/
#include <common.h>
#include <command.h>
#include <image.h>
#include <log.h>

View File

@ -6,6 +6,8 @@
#ifndef __ASM_MICROBLAZE_CPUINFO_H
#define __ASM_MICROBLAZE_CPUINFO_H
#include <linux/types.h>
/**
* struct microblaze_cpuinfo - CPU info for microblaze processor core.
*

View File

@ -7,7 +7,6 @@
* Yasushi SHOJI <yashi@atmark-techno.com>
*/
#include <common.h>
#include <bootstage.h>
#include <command.h>
#include <cpu_func.h>

View File

@ -10,7 +10,6 @@
* header files
*/
#include <common.h>
#include <config.h>
#include <env.h>
#include <init.h>