1. 22 7月, 2021 27 次提交
  2. 21 7月, 2021 8 次提交
  3. 19 7月, 2021 5 次提交
    • T
      Merge https://source.denx.de/u-boot/custodians/u-boot-marvell · dd3dfa50
      Tom Rini 提交于
      - Marvell SheevaPlug: Convert Ethernet and SATA to Driver Model (Tony)
      - Zyxel NSA310S NAS: Convert to Driver Model (Tony)
      - Turris_omnia: Add `u-boot-env` NOR partition (Marek)
      - Turris_omnia: Fixup MTD partitions in Linux' DTB (Marek)
      - Espressobin: Enable 'mtd' command and define SPI NOR partitions (Pali)
      dd3dfa50
    • T
      Merge tag 'ti-v2021.10-rc1' of https://source.denx.de/u-boot/custodians/u-boot-ti · 83befb44
      Tom Rini 提交于
      - Enabled distro boot for all TI platforms.
      - Cleanup for AM335x Guardian Board
      - PRUSS rproc on AM65 platform.
      - Add PMIC support for J7200
      - Misc fixes for Nokia RX-51
      
      # Conflicts:
      #	arch/arm/mach-omap2/am33xx/Kconfig
      83befb44
    • P
      arm: mvebu: Espressobin: Enable 'mtd' command and define SPI NOR partitions · a675eb14
      Pali Rohár 提交于
      U-Boot now supports parsing SPI NOR partitions from Device Tree. So enable
      'mtd' command support for Espressobin board and define partition layout in
      U-Boot Espressobin DTS file. Access to SPI NOR via 'sf' command is old
      method and 'mtd' command is now preferred variant.
      
      From include file remove '#define CONFIG_MTD_PARTITIONS' as this option is
      now defined and enabled in defconfig file. This change is required to fix
      compile error:
      
            CC      arch/arm/lib/asm-offsets.s
          In file included from include/config.h:4,
                           from include/common.h:16,
                           from lib/asm-offsets.c:14:
          include/configs/mvebu_armada-37xx.h:63: warning: "CONFIG_MTD_PARTITIONS" redefined
           #define CONFIG_MTD_PARTITIONS  /* required for UBI partition support */
      
          In file included from ././include/linux/kconfig.h:4,
                           from <command-line>:
          include/generated/autoconf.h:44: note: this is the location of the previous definition
           #define CONFIG_MTD_PARTITIONS 1
      
      After enabling support for mtd command, output from 'mtd list' on
      Espressobin board is:
      
          => mtd list
          List of MTD devices:
          * w25q32dw
            - device: spi-flash@0
            - parent: spi@10600
            - driver: jedec_spi_nor
            - path: /soc/internal-regs/spi@10600/spi-flash@0
            - type: NOR flash
            - block size: 0x1000 bytes
            - min I/O: 0x1 bytes
            - 0x000000000000-0x000000400000 : "w25q32dw"
                    - 0x000000000000-0x0000003f0000 : "firmware"
                    - 0x0000003f0000-0x000000400000 : "u-boot-env"
          =>
      Signed-off-by: NPali Rohár <pali@kernel.org>
      Reviewed-by: NKonstantin Porotchkin <kostap@marvell.com>
      Reviewed-by: NStefan Roese <sr@denx.de>
      a675eb14
    • M
      arm: mvebu: turris_omnia: fixup MTD partitions in Linux' DTB · 92f36c8e
      Marek Behún 提交于
      Fixup SPI NOR partition nodes in Linux' device tree prior booting Linux.
      
      Linux' devicetree does not contain "u-boot-env" partition and we do not
      want to add it there because the address is different between stock
      U-Boot and current upstream U-Boot.
      
      Instead we add code that recreates partition nodes from scratch
      according to how U-Boot sees them (which is defined in U-Boot's device
      tree).
      Signed-off-by: NMarek Behún <marek.behun@nic.cz>
      Reviewed-by: NStefan Roese <sr@denx.de>
      92f36c8e
    • M
      ARM: dts: armada-385-turris-omnia: add `u-boot-env` NOR partition · 644b9864
      Marek Behún 提交于
      Specify a separate partition `u-boot-env` for U-Boot's env settings for
      the Turris Omnia board.
      
      Do this only in U-Boot's specific DTS. We do not want to do this in
      Linux' official DTS, because Omnia's stock U-Boot stores env at a
      different address, and there are still boards with stock U-Boot.
      
      In a subsequent patch will add board code that fixes Linux's DTB before
      booting Linux.
      Signed-off-by: NMarek Behún <marek.behun@nic.cz>
      Reviewed-by: NStefan Roese <sr@denx.de>
      644b9864