diff options
author | Tom Rini <trini@konsulko.com> | 2019-11-11 14:19:04 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-11-11 14:19:04 -0500 |
commit | 0b73ef0c02313e651af4b0a8e206c7c4a198e7f8 (patch) | |
tree | 6e84ad48ccdb4b02b3a272ec30e7967426c15e13 /drivers | |
parent | a4b7485e2f311b1319b1b9cd59f5666536e24a28 (diff) | |
parent | bef18454044e62800ece687b8d50ddd853117660 (diff) | |
download | u-boot-0b73ef0c02313e651af4b0a8e206c7c4a198e7f8.tar.gz |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-fsl-qoriq
- Rename CONFIG_SECURE_BOOT to CONFIG_NXP_ESBC.
- Few bug fixes and updates related to SPI, hwconfig, ethernet,
fsl-layerscape, pci, icid, PSCI
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/fsl_enetc.c | 4 | ||||
-rw-r--r-- | drivers/pci/pcie_layerscape.c | 6 | ||||
-rw-r--r-- | drivers/spi/Kconfig | 1 |
3 files changed, 10 insertions, 1 deletions
diff --git a/drivers/net/fsl_enetc.c b/drivers/net/fsl_enetc.c index e7c5062c39..0ca7e838a8 100644 --- a/drivers/net/fsl_enetc.c +++ b/drivers/net/fsl_enetc.c @@ -191,6 +191,9 @@ static void enetc_start_pcs(struct udevice *dev) enetc_init_sgmii(dev); break; case PHY_INTERFACE_MODE_RGMII: + case PHY_INTERFACE_MODE_RGMII_ID: + case PHY_INTERFACE_MODE_RGMII_RXID: + case PHY_INTERFACE_MODE_RGMII_TXID: enetc_init_rgmii(dev); break; case PHY_INTERFACE_MODE_XGMII: @@ -248,6 +251,7 @@ static void enetc_start_phy(struct udevice *dev) supported = GENMASK(6, 0); /* speeds up to 1G & AN */ phy->advertising = phy->supported & supported; + phy->node = phy_node; phy_config(phy); phy_startup(phy); } diff --git a/drivers/pci/pcie_layerscape.c b/drivers/pci/pcie_layerscape.c index db1375a1ce..5ad7c28773 100644 --- a/drivers/pci/pcie_layerscape.c +++ b/drivers/pci/pcie_layerscape.c @@ -406,7 +406,11 @@ static void ls_pcie_ep_setup_bars(void *bar_base) static void ls_pcie_ep_enable_cfg(struct ls_pcie *pcie) { - ctrl_writel(pcie, PCIE_CONFIG_READY, PCIE_PF_CONFIG); + u32 config; + + config = ctrl_readl(pcie, PCIE_PF_CONFIG); + config |= PCIE_CONFIG_READY; + ctrl_writel(pcie, config, PCIE_PF_CONFIG); } static void ls_pcie_setup_ep(struct ls_pcie *pcie) diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 7be867d5b6..8588866489 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -385,6 +385,7 @@ config CF_SPI config FSL_ESPI bool "Freescale eSPI driver" + imply SPI_FLASH_BAR help Enable the Freescale eSPI driver. This driver can be used to access the SPI interface and SPI NOR flash on platforms embedding |