1. 05 9月, 2021 2 次提交
  2. 04 9月, 2021 1 次提交
  3. 01 9月, 2021 2 次提交
  4. 11 8月, 2021 1 次提交
  5. 29 7月, 2021 3 次提交
  6. 27 7月, 2021 5 次提交
  7. 15 7月, 2021 1 次提交
  8. 08 7月, 2021 1 次提交
  9. 28 6月, 2021 1 次提交
  10. 10 6月, 2021 2 次提交
    • A
      configs: am64: Enable configs to support USB host and device modes · ce7ad573
      Aswath Govindraju 提交于
      Enable config options required to add support for USB Mass storage boot,
      USB DFU boot, host and device modes in U-Boot.
      Signed-off-by: NAswath Govindraju <a-govindraju@ti.com>
      Signed-off-by: NLokesh Vutla <lokeshvutla@ti.com>
      Link: https://lore.kernel.org/r/20210604163043.12811-11-a-govindraju@ti.com
      ce7ad573
    • A
      configs: am64x_evm_*_defconfig: Rearrange the components in SRAM to satisfy... · 26f32c32
      Aswath Govindraju 提交于
      configs: am64x_evm_*_defconfig: Rearrange the components in SRAM to satisfy the limitations for USB DFU boot mode
      
      For USB DFU boot mode there is a limitation on the load address of boot
      images that they have to be less than 0x70001000. Therefore, move the
      SPL_TEXT_BASE address to 0x70000000.
      
      Currently ATF is being loaded at 0x70000000, if the SPL is being loaded at
      0x70000000 then ATF would overwrite SPL image when loaded. Therefore, move
      the location of ATF to a latter location in SRAM, past the SPL image. Also
      rearrange the EEPROM and BSS data on top of ATF.
      
      Given below is the placement of various data sections in SRAM
      
           ┌──────────────────────────────────────┐0x70000000
           │                                      │
           │                                      │
           │                                      │
           │    SPL IMAGE (Max size 1.5 MB)       │
           │                                      │
           │                                      │
           │                                      │
           ├──────────────────────────────────────┤0x7017FFFF
           │                                      │
           │           SPL STACK                  │
           │                                      │
           ├──────────────────────────────────────┤0x70192727
           │          GLOBAL DATA(216 B)          │
           ├──────────────────────────────────────┤0x701927FF
           │                                      │
           │       INITIAL HEAP (32 KB)           │
           │                                      │
           ├──────────────────────────────────────┤0x7019A7FF
           │                                      │
           │          BSS  (20 KB)                │
           ├──────────────────────────────────────┤0x7019F7FF
           │         EEPROM DATA (2 KB)           │
           ├──────────────────────────────────────┤0x7019FFFF
           │                                      │
           │                                      │
           │            ATF (123 KB)              │
           │                                      │
           │                                      │
           ├──────────────────────────────────────┤0x701BEBFB
           │   BOOT PARAMETER INDEX TABLE (5124 B)│
           ├──────────────────────────────────────┤0x701BFFFF
           │                                      │
           │SYSFW FIREWALLED DUE TO A BUG (128 KB)│
           │                                      │
           ├──────────────────────────────────────┤0x701DFFFF
           │                                      │
           │      DMSC CODE AREA (128 KB)         │
           │                                      │
           └──────────────────────────────────────┘0x701FFFFF
      Signed-off-by: NAswath Govindraju <a-govindraju@ti.com>
      Signed-off-by: NLokesh Vutla <lokeshvutla@ti.com>
      Link: https://lore.kernel.org/r/20210604163043.12811-9-a-govindraju@ti.com
      26f32c32
  11. 07 6月, 2021 1 次提交
  12. 27 5月, 2021 1 次提交
  13. 15 5月, 2021 1 次提交
  14. 12 5月, 2021 6 次提交
  15. 11 8月, 2020 1 次提交
  16. 29 7月, 2020 2 次提交
  17. 28 7月, 2020 1 次提交
  18. 26 7月, 2020 1 次提交
  19. 24 7月, 2020 1 次提交
  20. 21 7月, 2020 1 次提交
  21. 07 7月, 2020 1 次提交
  22. 30 6月, 2020 1 次提交
    • L
      spi: Convert CONFIG_DM_SPI* to CONFIG_$(SPL_TPL_)DM_SPI* · 56c40460
      Lukasz Majewski 提交于
      This change allows more fine tuning of driver model based SPI support in
      SPL and TPL. It is now possible to explicitly enable/disable the DM_SPI
      support in SPL and TPL via Kconfig option.
      
      Before this change it was necessary to use:
          /* SPI Flash Configs */
          #if defined(CONFIG_SPL_BUILD)
          #undef CONFIG_DM_SPI
          #undef CONFIG_DM_SPI_FLASH
          #undef CONFIG_SPI_FLASH_MTD
          #endif
      
      in the ./include/configs/<board>.h, which is error prone and shall be
      avoided when we strive to switch to Kconfig.
      
      The goal of this patch:
      
      Provide distinction for DM_SPI support in both U-Boot proper and SPL (TPL).
      Valid use case is when U-Boot proper wants to use DM_SPI, but SPL must
      still support non DM driver.
      
      Another use case is the conversion of non DM/DTS SPI driver to support
      DM/DTS. When such driver needs to work in both SPL and U-Boot proper, the
      distinction is needed in Kconfig (also if SPL version of the driver
      supports OF_PLATDATA).
      
      In the end of the day one would have to support following use cases (in
      single driver file - e.g. mxs_spi.c):
      
      - U-Boot proper driver supporting DT/DTS
      - U-Boot proper driver without DT/DTS support (deprecated)
      - SPL driver without DT/DTS support
      - SPL (and TPL) driver with DT/DTS (when the SoC has enough resources to
        run full blown DT/DTS)
      - SPL driver with DT/DTS and SPL_OF_PLATDATA (when one have constrained
        environment with no fitImage and OF_LIBFDT support).
      
      Some boards do require SPI support (with DM) in SPL (TPL) and some only
      have DM_SPI{_FLASH} defined to allow compiling SPL.
      
      This patch converts #ifdef CONFIG_DM_SPI* to #if CONFIG_IS_ENABLED(DM_SPI)
      and provides corresponding defines in Kconfig.
      Signed-off-by: NLukasz Majewski <lukma@denx.de>
      Tested-by: Adam Ford <aford173@gmail.com> #da850-evm
      Signed-off-by: NHou Zhiqiang <Zhiqiang.Hou@nxp.com>
      [trini: Fixup a few platforms]
      Signed-off-by: NTom Rini <trini@konsulko.com>
      56c40460
  23. 26 6月, 2020 1 次提交
    • T
      spi: Enable missing CONFIG_SPL_DM_SPI support · 8f74e659
      Tom Rini 提交于
      Due to how the Makefile logic is we currently get DM_SPI support in SPL
      enabled by having DM_SPI enabled for full U-Boot but not having
      CONFIG_SPL_DM_SPI set.  Add this missing option to boards that were
      inadvertently making use of it.
      
      Cc: Adam Ford <aford173@gmail.com>
      Cc: Akash Gajjar <akash@openedev.com>
      Cc: Anatolij Gustschin <agust@denx.de>
      Cc: Andy Yan <andy.yan@rock-chips.com>
      Cc: Anup Patel <anup.patel@wdc.com>
      Cc: Atish Patra <atish.patra@wdc.com>
      Cc: Bin Meng <bmeng.cn@gmail.com>
      Cc: Chee Hong Ang <chee.hong.ang@intel.com>
      Cc: Chin-Liang See <clsee@altera.com>
      Cc: Dalon Westergreen <dwesterg@gmail.com>
      Cc: Dinh Nguyen <dinguyen@kernel.org>
      Cc: Eugen Hristev <eugen.hristev@microchip.com>
      Cc: Hannes Schmelzer <hannes.schmelzer@br-automation.com>
      Cc: Heiko Schocher <hs@denx.de>
      Cc: Jagan Teki <jagan@amarulasolutions.com>
      Cc: Klaus Goger <klaus.goger@theobroma-systems.com>
      Cc: Levin Du <djw@t-chip.com.cn>
      Cc: Ley Foon Tan <ley.foon.tan@intel.com>
      Cc: Lokesh Vutla <lokeshvutla@ti.com>
      Cc: Luca Ceresoli <luca@lucaceresoli.net>
      Cc: Marek Vasut <marex@denx.de>
      Cc: Michal Simek <monstr@monstr.eu>
      Cc: Mike Looijmans <mike.looijmans@topic.nl>
      Cc: Nicolas Ferre <nicolas.ferre@microchip.com>
      Cc: Nikita Kiryanov <nikita@compulab.co.il>
      Cc: Palmer Dabbelt <palmer@dabbelt.com>
      Cc: Patrick Delaunay <patrick.delaunay@st.com>
      Cc: Paul Walmsley <paul.walmsley@sifive.com>
      Cc: Pavel Machek <pavel@denx.de>
      Cc: Peter Robinson <pbrobinson@gmail.com>
      Cc: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Stefan Roese <sr@denx.de>
      Cc: Suniel Mahesh <sunil@amarulasolutions.com>
      Cc: Vitaly Andrianov <vitalya@ti.com>
      Cc: Wolfgang Grandegger <wg@aries-embedded.de>
      Signed-off-by: NTom Rini <trini@konsulko.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      Reviewed-by: NLuca Ceresoli <luca@lucaceresoli.net>
      8f74e659
  24. 29 4月, 2020 1 次提交
  25. 11 3月, 2020 1 次提交