diff options
author | Tom Rini <trini@konsulko.com> | 2020-10-12 07:26:57 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-10-12 07:26:57 -0400 |
commit | 47e9c70421d75336336097c1425028b40e4f0b54 (patch) | |
tree | b8ee7f6b2c0e6bfe39511f64dec25fad3b28de0b | |
parent | 726561a9412abe50875b7791feab94f411d76199 (diff) | |
parent | 555ee3949307648d6c40081b30e212af075ab8a8 (diff) | |
download | u-boot-47e9c70421d75336336097c1425028b40e4f0b54.zip u-boot-47e9c70421d75336336097c1425028b40e4f0b54.tar.gz u-boot-47e9c70421d75336336097c1425028b40e4f0b54.tar.bz2 |
Merge tag 'ti-v2021.01-rc1' of https://gitlab.denx.de/u-boot/custodians/u-boot-ti
- Minor cleanup on K3 env variables
- Fix OSPI compatible for J721e
- Drop unused property in omap-usb2-phy
- Update Maintainer for am335x-guardian board.
-rw-r--r-- | board/bosch/guardian/MAINTAINERS | 2 | ||||
-rw-r--r-- | board/ti/j721e/evm.c | 2 | ||||
-rw-r--r-- | configs/am335x_evm_defconfig | 1 | ||||
-rw-r--r-- | drivers/dma/ti/k3-udma.c | 4 | ||||
-rw-r--r-- | drivers/phy/omap-usb2-phy.c | 11 | ||||
-rw-r--r-- | include/configs/am65x_evm.h | 8 | ||||
-rw-r--r-- | include/configs/j721e_evm.h | 8 | ||||
-rw-r--r-- | include/environment/ti/ufs.h | 4 |
8 files changed, 21 insertions, 19 deletions
diff --git a/board/bosch/guardian/MAINTAINERS b/board/bosch/guardian/MAINTAINERS index 2f674d7..fd216a9 100644 --- a/board/bosch/guardian/MAINTAINERS +++ b/board/bosch/guardian/MAINTAINERS @@ -1,7 +1,7 @@ Guardian BOARD M: Sjoerd Simons <sjoerd.simons@collabora.co.uk> M: Govindaraji Sivanantham <Govindaraji.Sivanantham@in.bosch.com> -M: Moses Christopher Bollavarapu <BollavarapuMoses.Christopher@in.bosch.com> +M: Hiremath Gireesh <Gireesh.Hiremath@in.bosch.com> S: Maintained F: board/bosch/guardian/ F: include/configs/am335x_guardian.h diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c index 7925b76..d8711eb 100644 --- a/board/ti/j721e/evm.c +++ b/board/ti/j721e/evm.c @@ -110,7 +110,7 @@ static void __maybe_unused detect_enable_hyperflash(void *blob) do_fixup_by_compat(blob, "ti,am654-hbmc", "status", "okay", sizeof("okay"), 0); offset = fdt_node_offset_by_compatible(blob, -1, - "ti,j721e-ospi"); + "ti,am654-ospi"); fdt_setprop(blob, offset, "status", "disabled", sizeof("disabled")); } diff --git a/configs/am335x_evm_defconfig b/configs/am335x_evm_defconfig index b76230f..eb5a299 100644 --- a/configs/am335x_evm_defconfig +++ b/configs/am335x_evm_defconfig @@ -92,4 +92,3 @@ CONFIG_WDT=y CONFIG_DYNAMIC_CRC_TABLE=y CONFIG_RSA=y CONFIG_LZO=y -# CONFIG_OF_LIBFDT_OVERLAY is not set diff --git a/drivers/dma/ti/k3-udma.c b/drivers/dma/ti/k3-udma.c index 57d9fbf..9421604 100644 --- a/drivers/dma/ti/k3-udma.c +++ b/drivers/dma/ti/k3-udma.c @@ -1134,7 +1134,9 @@ err_free_res: static void udma_free_chan_resources(struct udma_chan *uc) { - /* Some configuration to UDMA-P channel: disable, reset, whatever */ + /* Hard reset UDMA channel */ + udma_stop_hard(uc); + udma_reset_counters(uc); /* Release PSI-L pairing */ udma_navss_psil_unpair(uc->ud, uc->config.src_thread, uc->config.dst_thread); diff --git a/drivers/phy/omap-usb2-phy.c b/drivers/phy/omap-usb2-phy.c index adc454d..a981cb2 100644 --- a/drivers/phy/omap-usb2-phy.c +++ b/drivers/phy/omap-usb2-phy.c @@ -12,6 +12,7 @@ #include <errno.h> #include <generic-phy.h> #include <regmap.h> +#include <soc.h> #include <syscon.h> #include <linux/bitops.h> #include <linux/err.h> @@ -196,6 +197,11 @@ struct phy_ops omap_usb2_phy_ops = { .exit = omap_usb2_phy_exit, }; +static const struct soc_attr am65x_sr10_soc_devices[] = { + { .family = "AM65X", .revision = "SR1.0" }, + { /* sentinel */ } +}; + int omap_usb2_phy_probe(struct udevice *dev) { int rc; @@ -222,10 +228,9 @@ int omap_usb2_phy_probe(struct udevice *dev) * Disabling the USB2_PHY Charger Detect function will put D+ * into the normal state. * - * Using property "ti,dis-chg-det-quirk" in the DT usb2-phy node - * to enable this workaround for AM654x PG1.0. + * Enable this workaround for AM654x PG1.0. */ - if (dev_read_bool(dev, "ti,dis-chg-det-quirk")) + if (soc_device_match(am65x_sr10_soc_devices)) priv->flags |= OMAP_USB2_DISABLE_CHG_DET; regmap = syscon_regmap_lookup_by_phandle(dev, "syscon-phy-power"); diff --git a/include/configs/am65x_evm.h b/include/configs/am65x_evm.h index df06056..9eed0ea 100644 --- a/include/configs/am65x_evm.h +++ b/include/configs/am65x_evm.h @@ -69,9 +69,6 @@ "findfdt=" \ "setenv name_fdt k3-am654-base-board.dtb;" \ "setenv fdtfile ${name_fdt}\0" \ - "loadaddr=0x80080000\0" \ - "fdtaddr=0x82000000\0" \ - "overlayaddr=0x83000000\0" \ "name_kern=Image\0" \ "console=ttyS2,115200n8\0" \ "stdin=serial,usbkbd\0" \ @@ -93,8 +90,8 @@ "fdt resize 0x100000;" \ "for overlay in $name_overlays;" \ "do;" \ - "load mmc ${bootpart} ${overlayaddr} ${bootdir}/${overlay};" \ - "fdt apply ${overlayaddr};" \ + "load mmc ${bootpart} ${dtboaddr} ${bootdir}/${overlay};" \ + "fdt apply ${dtboaddr};" \ "done;\0" \ "get_kern_mmc=load mmc ${bootpart} ${loadaddr} " \ "${bootdir}/${name_kern}\0" \ @@ -133,6 +130,7 @@ /* Incorporate settings into the U-Boot environment */ #define CONFIG_EXTRA_ENV_SETTINGS \ + DEFAULT_LINUX_BOOT_ENV \ DEFAULT_MMC_TI_ARGS \ DEFAULT_FIT_TI_ARGS \ EXTRA_ENV_AM65X_BOARD_SETTINGS \ diff --git a/include/configs/j721e_evm.h b/include/configs/j721e_evm.h index 1b47e18..b707fc4 100644 --- a/include/configs/j721e_evm.h +++ b/include/configs/j721e_evm.h @@ -69,9 +69,6 @@ "findfdt=" \ "setenv name_fdt ${default_device_tree};" \ "setenv fdtfile ${name_fdt}\0" \ - "loadaddr=0x80080000\0" \ - "fdtaddr=0x82000000\0" \ - "overlayaddr=0x83000000\0" \ "name_kern=Image\0" \ "console=ttyS2,115200n8\0" \ "args_all=setenv optargs earlycon=ns16550a,mmio32,0x02800000 " \ @@ -114,8 +111,8 @@ "fdt resize 0x100000;" \ "for overlay in $name_overlays;" \ "do;" \ - "load mmc ${bootpart} ${overlayaddr} ${bootdir}/${overlay} && " \ - "fdt apply ${overlayaddr};" \ + "load mmc ${bootpart} ${dtboaddr} ${bootdir}/${overlay} && " \ + "fdt apply ${dtboaddr};" \ "done;\0" \ "partitions=" PARTS_DEFAULT \ "get_kern_mmc=load mmc ${bootpart} ${loadaddr} " \ @@ -165,6 +162,7 @@ /* Incorporate settings into the U-Boot environment */ #define CONFIG_EXTRA_ENV_SETTINGS \ + DEFAULT_LINUX_BOOT_ENV \ DEFAULT_MMC_TI_ARGS \ DEFAULT_FIT_TI_ARGS \ EXTRA_ENV_J721E_BOARD_SETTINGS \ diff --git a/include/environment/ti/ufs.h b/include/environment/ti/ufs.h index d457e20..6619ec9 100644 --- a/include/environment/ti/ufs.h +++ b/include/environment/ti/ufs.h @@ -26,8 +26,8 @@ "fdt resize 0x100000;" \ "for overlay in $name_overlays;" \ "do;" \ - "load scsi ${bootpart} ${overlayaddr} ${bootdir}/${overlay} && " \ - "fdt apply ${overlayaddr};" \ + "load scsi ${bootpart} ${dtboaddr} ${bootdir}/${overlay} && " \ + "fdt apply ${dtboaddr};" \ "done;\0" #endif |