[PATCH 03/17] Makefile: Move phy rules into drivers/phy

Simon Glass sjg at chromium.org
Sun Jul 11 05:14:23 CEST 2021


These don't belong in the drivers Makefile so move them down into
the correct place.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 drivers/Makefile     | 3 ---
 drivers/phy/Makefile | 4 ++++
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/drivers/Makefile b/drivers/Makefile
index 3510daba29f..ebd07867290 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -93,9 +93,6 @@ obj-$(CONFIG_NVME) += nvme/
 obj-$(CONFIG_PCI_ENDPOINT) += pci_endpoint/
 obj-y += dfu/
 obj-$(CONFIG_PCH) += pch/
-obj-y += phy/allwinner/
-obj-y += phy/marvell/
-obj-y += phy/rockchip/
 obj-y += rtc/
 obj-y += scsi/
 obj-y += sound/
diff --git a/drivers/phy/Makefile b/drivers/phy/Makefile
index 3c4a673a83b..5cc3efcfe95 100644
--- a/drivers/phy/Makefile
+++ b/drivers/phy/Makefile
@@ -3,6 +3,10 @@
 # Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/
 # Written by Jean-Jacques Hiblot  <jjhiblot at ti.com>
 
+obj-y += allwinner/
+obj-y += marvell/
+obj-y += rockchip/
+
 obj-$(CONFIG_$(SPL_)PHY) += phy-uclass.o
 obj-$(CONFIG_$(SPL_)NOP_PHY) += nop-phy.o
 obj-$(CONFIG_MIPI_DPHY_HELPERS) += phy-core-mipi-dphy.o
-- 
2.32.0.93.g670b81a890-goog



More information about the U-Boot mailing list