1. 20 4月, 2021 12 次提交
  2. 19 4月, 2021 5 次提交
  3. 18 4月, 2021 23 次提交
    • T
      Merge tag 'efi-2021-07-rc1-2' of https://source.denx.de/u-boot/custodians/u-boot-efi · 3a9aaefc
      Tom Rini 提交于
      Pull request for efi-2021-07-rc1-2
      
      Documentation:
      	man-page for fatinfo
      
      Bug fixes:
      	memory leak in efi_capsule_scan_dir()
      	incorrect invocations of EFI_CALL macro creating ESRT table
      	buffer overflow in tcg2_create_digest()
      3a9aaefc
    • T
      Merge https://source.denx.de/u-boot/custodians/u-boot-usb · c6ae5e98
      Tom Rini 提交于
      This is a patchset which makes away with the .bind() controller indexing
      workaround which was broken since before v2021.04, and then adds PHY
      support and MX8M support on top of that. Better add it into the release
      early to get as much testing as possible done, because this really does
      a lot of changes to the ehci-mx6 driver.
      c6ae5e98
    • T
      Merge tag 'ti-v2021.07-rc1' of https://source.denx.de/u-boot/custodians/u-boot-ti · 2fbc8047
      Tom Rini 提交于
      - Support for pinmux status command on beaglebone
      - Updates for MMC speed modes for J721e-evm
      - Fix MMC booting on omap35_logic_somlv board
      2fbc8047
    • T
      Merge branch '2021-04-16-env-updates' · 6e052b85
      Tom Rini 提交于
      - SPI Flash ENV improvements / cleanups
      - Redundant support for FAT
      - Assorted bugfixes
      6e052b85
    • M
      ARM: imx8m: verdin-imx8mm: Enable USB Host support · d08cdc22
      Marek Vasut 提交于
      Enable USB host support on MX8MM Verdin.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Marcel Ziswiler <marcel.ziswiler@toradex.com>
      Cc: Max Krummenacher <max.krummenacher@toradex.com>
      Cc: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
      d08cdc22
    • M
      usb: ehci-mx6: Add iMX8M support · 5e7e2a8e
      Marek Vasut 提交于
      The iMX8M uses nop PHY, select PHY and NOP_PHY automatically.
      Otherwise, the DM capable driver is now perfectly compatible.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Fabio Estevam <festevam@gmail.com>
      Cc: Peng Fan <peng.fan@nxp.com>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Ye Li <ye.li@nxp.com>
      Cc: uboot-imx <uboot-imx@nxp.com>
      5e7e2a8e
    • M
      usb: ehci-mx6: Fix aarch64 build warnings · f444f898
      Marek Vasut 提交于
      Fix cast from pointer to integer of different size by casting the
      pointer to uintptr_t instead of uint32_t, the former has correct
      size on both 32bit and 64bit architectures.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Fabio Estevam <festevam@gmail.com>
      Cc: Peng Fan <peng.fan@nxp.com>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Ye Li <ye.li@nxp.com>
      Cc: uboot-imx <uboot-imx@nxp.com>
      f444f898
    • M
      usb: ehci-mx6: Add fsl,imx7d-usb compatible string · e87015ff
      Marek Vasut 提交于
      Add new compatible string, used by some more up-to-date DTs.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Fabio Estevam <festevam@gmail.com>
      Cc: Peng Fan <peng.fan@nxp.com>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Ye Li <ye.li@nxp.com>
      Cc: uboot-imx <uboot-imx@nxp.com>
      e87015ff
    • M
      usb: ehci-mx6: Set default CONFIG_MXC_USB_PORTSC if not defined · 1aae8a35
      Marek Vasut 提交于
      There is now multiple copies of CONFIG_MXC_USB_PORTSC in configs set to
      PORT_PTS_UTMI | PORT_PTS_PTW, which is in fact the default register value
      for MX6, MX7 and MX7ULP. Define the default value of CONFIG_MXC_USB_PORTSC
      in the driver and use it in case CONFIG_MXC_USB_PORTSC is not defined in
      config, to reduce the duplication.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Fabio Estevam <festevam@gmail.com>
      Cc: Peng Fan <peng.fan@nxp.com>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Ye Li <ye.li@nxp.com>
      Cc: uboot-imx <uboot-imx@nxp.com>
      1aae8a35
    • M
      usb: ehci-mx6: Add generic EHCI PHY support · 50d0146c
      Marek Vasut 提交于
      In case PHY support is enabled, use the generic EHCI PHY support
      to start and stop the PHY.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Fabio Estevam <festevam@gmail.com>
      Cc: Peng Fan <peng.fan@nxp.com>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Ye Li <ye.li@nxp.com>
      Cc: uboot-imx <uboot-imx@nxp.com>
      50d0146c
    • M
      usb: ehci-mx6: Use portnr from DT in DM case · 6443a3bc
      Marek Vasut 提交于
      In case the platform uses DM, determine port number, which is
      used as offset in USBMISC registers, from PHY node DT aliases,
      just like Linux does.
      
      Fixes: 4de51cc2 ("usb: ehci-mx6: Drop assignment of sequence number")
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Fabio Estevam <festevam@gmail.com>
      Cc: Peng Fan <peng.fan@nxp.com>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Ye Li <ye.li@nxp.com>
      Cc: uboot-imx <uboot-imx@nxp.com>
      6443a3bc
    • M
      usb: ehci-mx6: Pass MISC address to usb_oc_config() · 66864699
      Marek Vasut 提交于
      Instead of passing ad-hoc sequence number to usb_oc_config(), pass in
      the USB MISC address itself. The USB MISC address comes from DT in DM
      case, and from the old method using controller index in non-DM case.
      
      Fixes: 4de51cc2 ("usb: ehci-mx6: Drop assignment of sequence number")
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Fabio Estevam <festevam@gmail.com>
      Cc: Peng Fan <peng.fan@nxp.com>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Ye Li <ye.li@nxp.com>
      Cc: uboot-imx <uboot-imx@nxp.com>
      66864699
    • M
      usb: ehci-mx6: Split usb_power_config() · 849763b9
      Marek Vasut 提交于
      Split usb_power_config() per SoC and pass in USB PHY, USBNC and ANATOP
      addresses instead of ad-hoc sequence numbers. This is only applicable
      on legacy systems which do not implement proper PHY support. Once PHY
      support is available, parts of this can be removed altogether and moved
      to the PHY driver, similar to Linux phy-mxs-usb.c .
      
      Fixes: 4de51cc2 ("usb: ehci-mx6: Drop assignment of sequence number")
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Fabio Estevam <festevam@gmail.com>
      Cc: Peng Fan <peng.fan@nxp.com>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Ye Li <ye.li@nxp.com>
      Cc: uboot-imx <uboot-imx@nxp.com>
      849763b9
    • M
      usb: ehci-mx6: Pass PHY address to usb_*_phy*() · eb64f598
      Marek Vasut 提交于
      Instead of passing ad-hoc index to USB PHY handling functions and then
      try and figure out the PHY address, pass in the PHY address itself. For
      DM case, this address comes easily from DT. For non-DM case, the previous
      method is still present, however the non-DM case will soon be removed.
      
      Fixes: 4de51cc2 ("usb: ehci-mx6: Drop assignment of sequence number")
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Fabio Estevam <festevam@gmail.com>
      Cc: Peng Fan <peng.fan@nxp.com>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Ye Li <ye.li@nxp.com>
      Cc: uboot-imx <uboot-imx@nxp.com>
      eb64f598
    • M
      usb: ehci-mx6: Split ehci_mx6_common_init() · ef464e4c
      Marek Vasut 提交于
      In order to pass component addresses around easily instead of passing
      ad-hoc sequence numbers, it is necessary to split ehci_mx6_common_init().
      Make it so and call the separate functions instead.
      
      Since board_ehci_hcd_init() makes no sense in DM case, do not call it
      in DM case.
      
      Fixes: 4de51cc2 ("usb: ehci-mx6: Drop assignment of sequence number")
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Fabio Estevam <festevam@gmail.com>
      Cc: Peng Fan <peng.fan@nxp.com>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Ye Li <ye.li@nxp.com>
      Cc: uboot-imx <uboot-imx@nxp.com>
      ef464e4c
    • M
      usb: ehci-mx6: Parse USB PHY and MISC offsets from DT · 4dcfa3bc
      Marek Vasut 提交于
      In case DM and OF controler is enabled, but PHY support is disabled,
      parse USB PHY and MISC component addresses from DT manually. Those
      component addresses will be used in subsequent patches to access the
      ANATOP, PHY and MISC registers matching the controller and thus get
      rid of the ad-hoc controller sequence number mapping.
      
      Fixes: 4de51cc2 ("usb: ehci-mx6: Drop assignment of sequence number")
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Fabio Estevam <festevam@gmail.com>
      Cc: Peng Fan <peng.fan@nxp.com>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Ye Li <ye.li@nxp.com>
      Cc: uboot-imx <uboot-imx@nxp.com>
      4dcfa3bc
    • M
      usb: ehci-mx6: Unify USBNC registers · 598fa7e1
      Marek Vasut 提交于
      Merge USBNC register layout structure into a single one, instead of
      having three separate structures and a lot of ifdeffery. No functional
      change.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Fabio Estevam <festevam@gmail.com>
      Cc: Peng Fan <peng.fan@nxp.com>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Ye Li <ye.li@nxp.com>
      Cc: uboot-imx <uboot-imx@nxp.com>
      598fa7e1
    • M
      usb: ehci-mx6: Add DM clock support · 7f2c10ee
      Marek Vasut 提交于
      Add support for using DM clock framework to enable and disable all the
      necessary clock for the USB controller.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Fabio Estevam <festevam@gmail.com>
      Cc: Peng Fan <peng.fan@nxp.com>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Ye Li <ye.li@nxp.com>
      Cc: uboot-imx <uboot-imx@nxp.com>
      7f2c10ee
    • M
      usb: ehci-mx6: Turn off Vbus on probe failure · 7e1f1e16
      Marek Vasut 提交于
      The driver turns on Vbus regulator in probe, but fails to turn it back
      off in case of probe failure. Add the missing code.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Fabio Estevam <festevam@gmail.com>
      Cc: Peng Fan <peng.fan@nxp.com>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Ye Li <ye.li@nxp.com>
      Cc: uboot-imx <uboot-imx@nxp.com>
      7e1f1e16
    • M
      imx: power-domain: Add fsl,imx8mn-gpc compatible string · f174a0db
      Marek Vasut 提交于
      The driver is compatible with iMX8MN, add missing compatible string.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Fabio Estevam <festevam@gmail.com>
      Cc: Peng Fan <peng.fan@nxp.com>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Ye Li <ye.li@nxp.com>
      Cc: uboot-imx <uboot-imx@nxp.com>
      f174a0db
    • M
      imx: power-domain: Add fsl,imx8mm-gpc compatible string · da16034d
      Marek Vasut 提交于
      The driver is compatible with iMX8MM, add missing compatible string.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Fabio Estevam <festevam@gmail.com>
      Cc: Peng Fan <peng.fan@nxp.com>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Ye Li <ye.li@nxp.com>
      Cc: uboot-imx <uboot-imx@nxp.com>
      da16034d
    • M
      ARM: dts: imx8mn: Add power domain nodes · d78f7d81
      Marek Vasut 提交于
      Add power domain nodes to DT.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Fabio Estevam <festevam@gmail.com>
      Cc: Peng Fan <peng.fan@nxp.com>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Ye Li <ye.li@nxp.com>
      Cc: uboot-imx <uboot-imx@nxp.com>
      d78f7d81
    • M
      ARM: dts: imx8mm: Add power domain nodes · f0e10e33
      Marek Vasut 提交于
      Add power domain nodes to DT.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Fabio Estevam <festevam@gmail.com>
      Cc: Peng Fan <peng.fan@nxp.com>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Ye Li <ye.li@nxp.com>
      Cc: uboot-imx <uboot-imx@nxp.com>
      f0e10e33