mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-29 09:45:52 +00:00
net: Remove <common.h> and add needed includes
Remove <common.h> from all "net/" files and when needed add missing include files directly. Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
0f92fa4560
commit
26d4114da2
26 changed files with 3 additions and 26 deletions
|
@ -9,10 +9,10 @@
|
||||||
* Copyright 2000-2002 Wolfgang Denk, wd@denx.de
|
* Copyright 2000-2002 Wolfgang Denk, wd@denx.de
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <env.h>
|
#include <env.h>
|
||||||
#include <log.h>
|
#include <log.h>
|
||||||
#include <net.h>
|
#include <net.h>
|
||||||
|
#include <vsprintf.h>
|
||||||
#include <linux/delay.h>
|
#include <linux/delay.h>
|
||||||
|
|
||||||
#include "arp.h"
|
#include "arp.h"
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
* Copyright 2000-2004 Wolfgang Denk, wd@denx.de
|
* Copyright 2000-2004 Wolfgang Denk, wd@denx.de
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <bootstage.h>
|
#include <bootstage.h>
|
||||||
#include <command.h>
|
#include <command.h>
|
||||||
#include <env.h>
|
#include <env.h>
|
||||||
|
|
|
@ -9,7 +9,6 @@
|
||||||
* Copyright 2000-2002 Wolfgang Denk, wd@denx.de
|
* Copyright 2000-2002 Wolfgang Denk, wd@denx.de
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <net.h>
|
#include <net.h>
|
||||||
|
|
||||||
#include "cdp.h"
|
#include "cdp.h"
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
|
|
||||||
/* Simple DHCP6 network layer implementation. */
|
/* Simple DHCP6 network layer implementation. */
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <net6.h>
|
#include <net6.h>
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
#include <linux/delay.h>
|
#include <linux/delay.h>
|
||||||
|
|
|
@ -22,7 +22,6 @@
|
||||||
* this stuff is worth it, you can buy me a beer in return.
|
* this stuff is worth it, you can buy me a beer in return.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <command.h>
|
#include <command.h>
|
||||||
#include <env.h>
|
#include <env.h>
|
||||||
#include <log.h>
|
#include <log.h>
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
|
|
||||||
#define LOG_CATEGORY UCLASS_ETH
|
#define LOG_CATEGORY UCLASS_ETH
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <bootdev.h>
|
#include <bootdev.h>
|
||||||
#include <bootstage.h>
|
#include <bootstage.h>
|
||||||
#include <dm.h>
|
#include <dm.h>
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
|
|
||||||
#define LOG_CATEGORY UCLASS_BOOTSTD
|
#define LOG_CATEGORY UCLASS_BOOTSTD
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <bootdev.h>
|
#include <bootdev.h>
|
||||||
#include <bootflow.h>
|
#include <bootflow.h>
|
||||||
#include <command.h>
|
#include <command.h>
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
* Joe Hershberger, National Instruments
|
* Joe Hershberger, National Instruments
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <bootstage.h>
|
#include <bootstage.h>
|
||||||
#include <dm.h>
|
#include <dm.h>
|
||||||
#include <env.h>
|
#include <env.h>
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
* Copyright (C) 2023 The Android Open Source Project
|
* Copyright (C) 2023 The Android Open Source Project
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <fastboot.h>
|
#include <fastboot.h>
|
||||||
#include <net.h>
|
#include <net.h>
|
||||||
#include <net/fastboot_tcp.h>
|
#include <net/fastboot_tcp.h>
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
* Copyright (C) 2016 The Android Open Source Project
|
* Copyright (C) 2016 The Android Open Source Project
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <command.h>
|
#include <command.h>
|
||||||
#include <fastboot.h>
|
#include <fastboot.h>
|
||||||
#include <net.h>
|
#include <net.h>
|
||||||
|
|
|
@ -11,7 +11,6 @@
|
||||||
* Licensed under the GPL v2 or later
|
* Licensed under the GPL v2 or later
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <env.h>
|
#include <env.h>
|
||||||
#include <log.h>
|
#include <log.h>
|
||||||
#include <net.h>
|
#include <net.h>
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
* Alex Marginean, NXP
|
* Alex Marginean, NXP
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <dm.h>
|
#include <dm.h>
|
||||||
#include <log.h>
|
#include <log.h>
|
||||||
#include <miiphy.h>
|
#include <miiphy.h>
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
* Alex Marginean, NXP
|
* Alex Marginean, NXP
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <dm.h>
|
#include <dm.h>
|
||||||
#include <dm/lists.h>
|
#include <dm/lists.h>
|
||||||
#include <eth_phy.h>
|
#include <eth_phy.h>
|
||||||
|
|
|
@ -9,7 +9,6 @@
|
||||||
|
|
||||||
/* Neighbour Discovery for IPv6 */
|
/* Neighbour Discovery for IPv6 */
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <net.h>
|
#include <net.h>
|
||||||
#include <net6.h>
|
#include <net6.h>
|
||||||
#include <ndisc.h>
|
#include <ndisc.h>
|
||||||
|
|
|
@ -81,7 +81,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <bootstage.h>
|
#include <bootstage.h>
|
||||||
#include <command.h>
|
#include <command.h>
|
||||||
#include <console.h>
|
#include <console.h>
|
||||||
|
|
|
@ -9,12 +9,12 @@
|
||||||
|
|
||||||
/* Simple IPv6 network layer implementation */
|
/* Simple IPv6 network layer implementation */
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <env_internal.h>
|
#include <env_internal.h>
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
#include <net.h>
|
#include <net.h>
|
||||||
#include <net6.h>
|
#include <net6.h>
|
||||||
#include <ndisc.h>
|
#include <ndisc.h>
|
||||||
|
#include <vsprintf.h>
|
||||||
|
|
||||||
/* NULL IPv6 address */
|
/* NULL IPv6 address */
|
||||||
struct in6_addr const net_null_addr_ip6 = ZERO_IPV6_ADDR;
|
struct in6_addr const net_null_addr_ip6 = ZERO_IPV6_ADDR;
|
||||||
|
|
|
@ -30,7 +30,6 @@
|
||||||
* September 27, 2018. As of now, NFSv3 is the default choice. If the server
|
* September 27, 2018. As of now, NFSv3 is the default choice. If the server
|
||||||
* does not support NFSv3, we fall back to versions 2 or 1. */
|
* does not support NFSv3, we fall back to versions 2 or 1. */
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <command.h>
|
#include <command.h>
|
||||||
#include <display_options.h>
|
#include <display_options.h>
|
||||||
#ifdef CONFIG_SYS_DIRECT_FLASH_NFS
|
#ifdef CONFIG_SYS_DIRECT_FLASH_NFS
|
||||||
|
|
|
@ -3,10 +3,10 @@
|
||||||
* Copyright 2019 Ramon Fried <rfried.dev@gmail.com>
|
* Copyright 2019 Ramon Fried <rfried.dev@gmail.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <net.h>
|
#include <net.h>
|
||||||
#include <net/pcap.h>
|
#include <net/pcap.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
#include <linux/errno.h>
|
||||||
#include <asm/io.h>
|
#include <asm/io.h>
|
||||||
|
|
||||||
#define LINKTYPE_ETHERNET 1
|
#define LINKTYPE_ETHERNET 1
|
||||||
|
|
|
@ -9,7 +9,6 @@
|
||||||
|
|
||||||
/* Simple ping6 implementation */
|
/* Simple ping6 implementation */
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <net.h>
|
#include <net.h>
|
||||||
#include <net6.h>
|
#include <net6.h>
|
||||||
#include "ndisc.h"
|
#include "ndisc.h"
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <command.h>
|
#include <command.h>
|
||||||
#include <log.h>
|
#include <log.h>
|
||||||
#include <net.h>
|
#include <net.h>
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <command.h>
|
#include <command.h>
|
||||||
#include <dm.h>
|
#include <dm.h>
|
||||||
#include <log.h>
|
#include <log.h>
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
* - TCP application (eg wget)
|
* - TCP application (eg wget)
|
||||||
* Next Step HTTPS?
|
* Next Step HTTPS?
|
||||||
*/
|
*/
|
||||||
#include <common.h>
|
|
||||||
#include <command.h>
|
#include <command.h>
|
||||||
#include <console.h>
|
#include <console.h>
|
||||||
#include <env_internal.h>
|
#include <env_internal.h>
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
* Copyright 2011 Comelit Group SpA,
|
* Copyright 2011 Comelit Group SpA,
|
||||||
* Luca Ceresoli <luca.ceresoli@comelit.it>
|
* Luca Ceresoli <luca.ceresoli@comelit.it>
|
||||||
*/
|
*/
|
||||||
#include <common.h>
|
|
||||||
#include <command.h>
|
#include <command.h>
|
||||||
#include <display_options.h>
|
#include <display_options.h>
|
||||||
#include <efi_loader.h>
|
#include <efi_loader.h>
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
* Copyright (C) 2020 Philippe Reynes <philippe.reynes@softathome.com>
|
* Copyright (C) 2020 Philippe Reynes <philippe.reynes@softathome.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <net.h>
|
#include <net.h>
|
||||||
#include <net/udp.h>
|
#include <net/udp.h>
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
|
|
||||||
#include <asm/global_data.h>
|
#include <asm/global_data.h>
|
||||||
#include <command.h>
|
#include <command.h>
|
||||||
#include <common.h>
|
|
||||||
#include <display_options.h>
|
#include <display_options.h>
|
||||||
#include <env.h>
|
#include <env.h>
|
||||||
#include <image.h>
|
#include <image.h>
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
* Copyright 2018 Lothar Felten, lothar.felten@gmail.com
|
* Copyright 2018 Lothar Felten, lothar.felten@gmail.com
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
|
||||||
#include <command.h>
|
#include <command.h>
|
||||||
#include <env.h>
|
#include <env.h>
|
||||||
#include <net.h>
|
#include <net.h>
|
||||||
|
|
Loading…
Add table
Reference in a new issue