1. 08 11月, 2021 14 次提交
  2. 06 11月, 2021 1 次提交
    • T
      Merge branch '2021-11-05-Kconfig-syncs' · 52207514
      Tom Rini 提交于
      - An assortment of changes to finish migration of a number of symbols,
        and move YAFFS2 related options that we enable to Kconfig as well.
      52207514
  3. 05 11月, 2021 12 次提交
  4. 04 11月, 2021 7 次提交
  5. 03 11月, 2021 6 次提交
    • T
      Merge https://source.denx.de/u-boot/custodians/u-boot-usb · bc18582a
      Tom Rini 提交于
      - usb: mtu3: flush cache for the first GPD when allocate GPD ring
      bc18582a
    • T
      Merge https://source.denx.de/u-boot/custodians/u-boot-marvell · 0bf6563a
      Tom Rini 提交于
      - pci_mvebu: Fix access to config space and PCIe Root Port (Pali)
      - a37xx: pci: Program the data strobe for config read requests (Pali)
      - kwboot: Misc improvements and fixes (Pali)
      0bf6563a
    • C
      usb: mtu3: flush cache for the first GPD when allocate GPD ring · 2c4f2176
      Chunfeng Yun 提交于
      When allocate the GPD ring, and tell its address to the controller, then
      the driver starts or resumes the QMU, the controller will try to access
      the first GPD, so need flush the first one to avoid wrong GPD status.
      Reported-by: NXin Lin <Xin.Lin@mediatek.com>
      Signed-off-by: NChunfeng Yun <chunfeng.yun@mediatek.com>
      2c4f2176
    • P
      arm: a37xx: pci: Program the data strobe for config read requests · 57fa6fb9
      Pali Rohár 提交于
      According to the Armada 3720 Functional Specification Data Strobe applies
      for both read and write config requests.
      
      Data strobe bits configure which bytes from the start address should be
      returned for read request. Set value 0xf (all 4 bits) into Data Strobe
      register to read all four bytes from specified 32-bit config space
      register. Same value for Data Strobe register is programmed by Linux
      pci-aardvark.c driver for config read requests.
      
      Without this patch pci-aardvark driver sets data strobe register only
      during config write operations. So any followup config read operations
      could result with just partial datai returned (if previous write operation
      was not 32-bit wide). This patch fixes it and ensures that config read
      operations always read all bytes from requested register.
      Signed-off-by: NPali Rohár <pali@kernel.org>
      Reviewed-by: NStefan Roese <sr@denx.de>
      57fa6fb9
    • P
      tools: kwboot: Do not send magic seq when changing baudrate back to 115200 · 62a98f49
      Pali Rohár 提交于
      After successful transfer of whole image only two things can happen:
      - BootROM starts execution of data block, which changes UART baudrate
        back to 115200 Bd,
      - board crashes and causes CPU reset
      
      In both cases UART baudrate is reset to the default speed. So there is
      no need to send special magic sequence to inform kwboot that baudrate is
      going to be reset and kwboot does not need to wait for this event and
      can do it immediately after BootROM acknowledges end of xmodem transfer.
      
      Move ARM code for sending magic sequence from main baudrate change
      section to binhdr_pre section which is executed only before changing
      baudrate from the default value of 115200 Bd to some new value. Remove
      kwboot code waiting for magic sequence after successful xmodem transfer.
      
      Rationale: sometimes when using very high UART speeds, magic sequence is
      damaged and kwboot fails at this last stage. Removal of this magic
      sequence makes booting more stable.
      
      Data transfer protocol (xmodem) is using checksums and retransmit, so it
      already deals with possible errors on transfer line.
      Signed-off-by: NPali Rohár <pali@kernel.org>
      Signed-off-by: NMarek Behún <marek.behun@nic.cz>
      Reviewed-by: NStefan Roese <sr@denx.de>
      62a98f49
    • P
      tools: kwboot: Do not use stack when setting baudrate back to default value · 8dbe027f
      Pali Rohár 提交于
      The ARM code we inject into the image to change baudrate back to the
      default value of 115200 Baud, which is run after successful UART transfer
      of the whole image, cannot use stack as at this stage stack pointer is not
      initialized yet.
      
      Stack can only be used when BootROM is executing binary header, to
      preserve state of registers, since BootROM expects that.
      
      Change the ARM baudrate code to not use stack at all and put binary
      header specific pre + post code (which stores and restores registers) into
      separate arrays.
      
      The baudrate change code now jumps at it's end and expects that there is
      either code which returns to the BootROM or jumps to the original exec
      address.
      Signed-off-by: NPali Rohár <pali@kernel.org>
      Reviewed-by: NMarek Behún <marek.behun@nic.cz>
      Reviewed-by: NStefan Roese <sr@denx.de>
      8dbe027f