mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-15 19:51:37 +00:00
net: phy: Clean up includes of common.h
We want to be able to include some other system headers in phy.h but that requires us to have included common.h in the top-level first. Also, common.h includes config.h as the first thing it does, so don't include it directly. Series-to: u-boot Series-cc: Grygorii Strashko <grygorii.strashko@ti.com> Seried-cc: ti Series-process-log: sort, uniq Cover-letter: Prepare for net: phy: prevent uclass_eth device "node" field overwriting Prepare for [1] so that it doesn't break the build for a bunch of boards. There are a number of reasons this series broke the build but none of them depend on changes in the series, so fix up those situations ahead of applying that series. [1] https://patchwork.ozlabs.org/cover/940104/ END Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
parent
f070b1a27a
commit
05b60ac549
14 changed files with 6 additions and 11 deletions
|
@ -5,6 +5,7 @@
|
|||
* Copyright 2011, 2013 Freescale Semiconductor, Inc.
|
||||
* author Andy Fleming
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <phy.h>
|
||||
|
||||
#define AR803x_PHY_DEBUG_ADDR_REG 0x1d
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
* Copyright 2010-2011 Freescale Semiconductor, Inc.
|
||||
* author Andy Fleming
|
||||
*/
|
||||
#include <config.h>
|
||||
#include <common.h>
|
||||
#include <phy.h>
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
* Copyright 2010-2011 Freescale Semiconductor, Inc.
|
||||
* author Andy Fleming
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <phy.h>
|
||||
|
||||
#define MIIM_DM9161_SCR 0x10
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
*
|
||||
* Based loosely off of Linux's PHY Lib
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include <common.h>
|
||||
#include <miiphy.h>
|
||||
#include <phy.h>
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
* Copyright 2010-2011 Freescale Semiconductor, Inc.
|
||||
* author Andy Fleming
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <phy.h>
|
||||
|
||||
/* LXT971 Status 2 registers */
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
* Copyright 2010-2011 Freescale Semiconductor, Inc.
|
||||
* author Andy Fleming
|
||||
*/
|
||||
#include <config.h>
|
||||
#include <common.h>
|
||||
#include <errno.h>
|
||||
#include <phy.h>
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
* author Andy Fleming
|
||||
* (C) 2012 NetModule AG, David Andrey, added KSZ9031
|
||||
*/
|
||||
#include <config.h>
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <errno.h>
|
||||
|
|
|
@ -8,8 +8,6 @@
|
|||
* (C) Copyright 2017 Adaptrum, Inc.
|
||||
* Written by Alexandru Gagniuc <alex.g@adaptrum.com> for Adaptrum, Inc.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <errno.h>
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
* Copyright 2010-2011 Freescale Semiconductor, Inc.
|
||||
* author Andy Fleming
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <phy.h>
|
||||
|
||||
/* NatSemi DP83630 */
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
*
|
||||
* Based loosely off of Linux's PHY Lib
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include <common.h>
|
||||
#include <console.h>
|
||||
#include <dm.h>
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
* author Andy Fleming
|
||||
* Copyright 2016 Karsten Merker <merker@debian.org>
|
||||
*/
|
||||
#include <config.h>
|
||||
#include <common.h>
|
||||
#include <linux/bitops.h>
|
||||
#include <phy.h>
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
* Some code copied from linux kernel
|
||||
* Copyright (c) 2006 Herbert Valerio Riedel <hvr@gnu.org>
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <miiphy.h>
|
||||
|
||||
/* This code does not check the partner abilities. */
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
* Copyright 2010-2011 Freescale Semiconductor, Inc.
|
||||
* author Andy Fleming
|
||||
*/
|
||||
#include <config.h>
|
||||
#include <common.h>
|
||||
#include <phy.h>
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
* Original Author: Andy Fleming
|
||||
* Add vsc8662 phy support - Priyanka Jain
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <miiphy.h>
|
||||
|
||||
/* Cicada Auxiliary Control/Status Register */
|
||||
|
|
Loading…
Add table
Reference in a new issue