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:
parent
07011890a6
commit
577dddb5b7
|
@ -5,7 +5,6 @@
|
||||||
* Michal SIMEK <monstr@monstr.eu>
|
* Michal SIMEK <monstr@monstr.eu>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <cpu_func.h>
|
#include <cpu_func.h>
|
||||||
#include <asm/asm.h>
|
#include <asm/asm.h>
|
||||||
#include <asm/cache.h>
|
#include <asm/cache.h>
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2022, Ovidiu Panait <ovpanait@gmail.com>
|
* Copyright (C) 2022, Ovidiu Panait <ovpanait@gmail.com>
|
||||||
*/
|
*/
|
||||||
#include <common.h>
|
|
||||||
#include <asm/cpuinfo.h>
|
#include <asm/cpuinfo.h>
|
||||||
#include <asm/global_data.h>
|
#include <asm/global_data.h>
|
||||||
|
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
* Michal SIMEK <monstr@monstr.eu>
|
* Michal SIMEK <monstr@monstr.eu>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <hang.h>
|
#include <hang.h>
|
||||||
|
#include <stdio.h>
|
||||||
#include <asm/asm.h>
|
#include <asm/asm.h>
|
||||||
|
|
||||||
void _hw_exception_handler (void)
|
void _hw_exception_handler (void)
|
||||||
|
|
|
@ -7,7 +7,8 @@
|
||||||
* Yasushi SHOJI <yashi@atmark-techno.com>
|
* Yasushi SHOJI <yashi@atmark-techno.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
#include <log.h>
|
||||||
|
#include <vsprintf.h>
|
||||||
#include <asm/asm.h>
|
#include <asm/asm.h>
|
||||||
|
|
||||||
void enable_interrupts(void)
|
void enable_interrupts(void)
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2022, Ovidiu Panait <ovpanait@gmail.com>
|
* Copyright (C) 2022, Ovidiu Panait <ovpanait@gmail.com>
|
||||||
*/
|
*/
|
||||||
#include <common.h>
|
|
||||||
#include <asm/asm.h>
|
#include <asm/asm.h>
|
||||||
#include <asm/pvr.h>
|
#include <asm/pvr.h>
|
||||||
|
|
||||||
|
|
|
@ -4,8 +4,9 @@
|
||||||
* Michal Simek <michal.simek@amd.com>
|
* Michal Simek <michal.simek@amd.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <elf.h>
|
#include <elf.h>
|
||||||
|
#include <log.h>
|
||||||
|
#include <linux/types.h>
|
||||||
|
|
||||||
#define R_MICROBLAZE_NONE 0
|
#define R_MICROBLAZE_NONE 0
|
||||||
#define R_MICROBLAZE_32 1
|
#define R_MICROBLAZE_32 1
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
* Michal Simek <michal.simek@amd.com>
|
* Michal Simek <michal.simek@amd.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <command.h>
|
#include <command.h>
|
||||||
#include <image.h>
|
#include <image.h>
|
||||||
#include <log.h>
|
#include <log.h>
|
||||||
|
|
|
@ -6,6 +6,8 @@
|
||||||
#ifndef __ASM_MICROBLAZE_CPUINFO_H
|
#ifndef __ASM_MICROBLAZE_CPUINFO_H
|
||||||
#define __ASM_MICROBLAZE_CPUINFO_H
|
#define __ASM_MICROBLAZE_CPUINFO_H
|
||||||
|
|
||||||
|
#include <linux/types.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* struct microblaze_cpuinfo - CPU info for microblaze processor core.
|
* struct microblaze_cpuinfo - CPU info for microblaze processor core.
|
||||||
*
|
*
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
* Yasushi SHOJI <yashi@atmark-techno.com>
|
* Yasushi SHOJI <yashi@atmark-techno.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <bootstage.h>
|
#include <bootstage.h>
|
||||||
#include <command.h>
|
#include <command.h>
|
||||||
#include <cpu_func.h>
|
#include <cpu_func.h>
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
* header files
|
* header files
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#include <env.h>
|
#include <env.h>
|
||||||
#include <init.h>
|
#include <init.h>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user