mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-24 12:44:23 +08:00
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:
parent
12c00f9e8b
commit
60c08dd771
@ -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>
|
||||
|
@ -4,7 +4,6 @@
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include <common.h>
|
||||
#include <cpu_func.h>
|
||||
#include <asm/global_data.h>
|
||||
#include <linux/bitops.h>
|
||||
|
@ -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>
|
||||
|
@ -5,7 +5,6 @@
|
||||
|
||||
#include <init.h>
|
||||
#include <asm/cache.h>
|
||||
#include <common.h>
|
||||
|
||||
int init_cache_f_r(void)
|
||||
{
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
@ -4,7 +4,6 @@
|
||||
*/
|
||||
|
||||
#include <command.h>
|
||||
#include <common.h>
|
||||
#include <cpu_func.h>
|
||||
|
||||
__weak void reset_cpu(void)
|
||||
|
@ -3,7 +3,6 @@
|
||||
* (C) Copyright 2014 Pierrick Hascoet, Abilis Systems
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <cpu_func.h>
|
||||
#include <net.h>
|
||||
#include <netdev.h>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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 {
|
||||
|
@ -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
|
||||
|
@ -7,7 +7,6 @@
|
||||
#ifndef __BOARD_ENV_LIB_H
|
||||
#define __BOARD_ENV_LIB_H
|
||||
|
||||
#include <common.h>
|
||||
#include <config.h>
|
||||
#include <linux/kernel.h>
|
||||
|
||||
|
@ -4,7 +4,6 @@
|
||||
* Author: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <config.h>
|
||||
#include <cpu_func.h>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user