From patchwork Thu Jun 11 11:03:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andre Przywara X-Patchwork-Id: 242123 List-Id: U-Boot discussion From: andre.przywara at arm.com (Andre Przywara) Date: Thu, 11 Jun 2020 12:03:14 +0100 Subject: [PATCH 0/7] arm: Juno board updates and PCIe/SATA enablement Message-ID: <20200611110321.9574-1-andre.przywara@arm.com> This updates the Arm Juno board to fix a small bug, enable DM_ETH and also allow the usage of PCIe devices, foremost the on-board SATA controller. Patch 1/7 is a "typo" fix for the counter frequency. Patch 2, 3 and 4 allow to use the smc911x driver with DM_ETH on the Juno board, that removes the deprecation warning. Patch 5 allows the sata_sil driver to be used with DM_PCI compliant host controller drivers. Patch 6 tells U-Boot about the PCIe controller on the two later revision Juno boards. So far we were initialising the host bridge, to pave the way for any OS driver, but denied U-Boot itself to use PCIe devices. The final patch just enables the sata_sil driver, which allows loading images from SATA hard drives connected to the on-board ports. This allows me to boot an off-the-shelf Ubuntu installation using Grub/EFI from an SSD. Cheers, Andre Andre Przywara (7): arm: vexpress64: Fix counter frequency net: dm: Remove warning about EEPROM provided MAC address net: smc911x: Properly handle EEPROM MAC address arm: juno: Enable DM_ETH sata_sil: Enable DM_PCI operation arm: juno: Enable PCI arm: juno: Enable SATA controller arch/arm/Kconfig | 2 +- board/armltd/vexpress64/pcie.c | 14 +++--- board/armltd/vexpress64/vexpress64.c | 2 + configs/vexpress_aemv8a_juno_defconfig | 10 ++++- drivers/ata/sata_sil.c | 11 ++++- drivers/ata/sata_sil.h | 6 ++- drivers/net/smc911x.c | 60 +++++++++++++++----------- include/configs/vexpress_aemv8a.h | 2 +- net/eth-uclass.c | 2 - 9 files changed, 72 insertions(+), 37 deletions(-)