arc: 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: Alexey Brodkin <abrodkin@synopsys.com>
This commit is contained in:
Tom Rini 2023-10-12 19:03:55 -04:00
parent 12c00f9e8b
commit 60c08dd771
16 changed files with 3 additions and 15 deletions

View file

@ -3,7 +3,6 @@
* Copyright (C) 2013-2014 Synopsys, Inc. All rights reserved.
*/
#include <common.h>
#include <bootstage.h>
#include <env.h>
#include <image.h>

View file

@ -4,7 +4,6 @@
*/
#include <config.h>
#include <common.h>
#include <cpu_func.h>
#include <asm/global_data.h>
#include <linux/bitops.h>

View file

@ -3,7 +3,6 @@
* Copyright (C) 2013-2014, 2018 Synopsys, Inc. All rights reserved.
*/
#include <common.h>
#include <clock_legacy.h>
#include <init.h>
#include <malloc.h>

View file

@ -5,7 +5,6 @@
#include <init.h>
#include <asm/cache.h>
#include <common.h>
int init_cache_f_r(void)
{

View file

@ -3,8 +3,8 @@
* Copyright (C) 2013-2014 Synopsys, Inc. All rights reserved.
*/
#include <common.h>
#include <irq_func.h>
#include <vsprintf.h>
#include <asm/arcregs.h>
#include <asm/ptrace.h>

View file

@ -3,7 +3,6 @@
* Copyright (C) 2013-2014 Synopsys, Inc. All rights reserved.
*/
#include <common.h>
#include <elf.h>
#include <log.h>
#include <asm/sections.h>

View file

@ -4,7 +4,6 @@
*/
#include <command.h>
#include <common.h>
#include <cpu_func.h>
__weak void reset_cpu(void)

View file

@ -3,7 +3,6 @@
* (C) Copyright 2014 Pierrick Hascoet, Abilis Systems
*/
#include <common.h>
#include <cpu_func.h>
#include <net.h>
#include <netdev.h>

View file

@ -3,7 +3,6 @@
* Copyright (C) 2013-2014 Synopsys, Inc. All rights reserved.
*/
#include <common.h>
#include <cpu_func.h>
#include <dwmmc.h>
#include <init.h>

View file

@ -3,7 +3,6 @@
* Copyright (C) 2018 Synopsys, Inc. All rights reserved.
*/
#include <common.h>
#include <command.h>
#include <cpu_func.h>
#include <dwmmc.h>

View file

@ -7,7 +7,6 @@
#ifndef __BOARD_CLK_LIB_H
#define __BOARD_CLK_LIB_H
#include <common.h>
#include <linux/bitops.h>
enum clk_ctl_ops {

View file

@ -7,6 +7,8 @@
#include "env-lib.h"
#include <env.h>
#include <log.h>
#include <vsprintf.h>
#include <linux/errno.h>
#include <linux/printk.h>
#define MAX_CMD_LEN 25

View file

@ -7,7 +7,6 @@
#ifndef __BOARD_ENV_LIB_H
#define __BOARD_ENV_LIB_H
#include <common.h>
#include <config.h>
#include <linux/kernel.h>

View file

@ -4,7 +4,6 @@
* Author: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
*/
#include <common.h>
#include <command.h>
#include <config.h>
#include <cpu_func.h>

View file

@ -3,7 +3,6 @@
* Copyright (C) 2018 Synopsys, Inc. All rights reserved.
*/
#include <common.h>
#include <cpu_func.h>
#include <init.h>
#include <malloc.h>

View file

@ -3,7 +3,6 @@
* Copyright (C) 2020 Synopsys, Inc. All rights reserved.
*/
#include <common.h>
#include <init.h>
#include <dm/device.h>
#include <virtio_types.h>