1. 05 9月, 2021 2 次提交
  2. 01 9月, 2021 2 次提交
  3. 11 8月, 2021 1 次提交
  4. 29 7月, 2021 2 次提交
  5. 27 7月, 2021 1 次提交
  6. 28 6月, 2021 1 次提交
  7. 14 6月, 2021 1 次提交
  8. 12 5月, 2021 1 次提交
  9. 10 10月, 2020 1 次提交
  10. 28 7月, 2020 1 次提交
  11. 07 7月, 2020 1 次提交
  12. 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
  13. 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
  14. 18 6月, 2020 1 次提交
  15. 05 6月, 2020 1 次提交
  16. 29 4月, 2020 1 次提交
  17. 07 2月, 2020 1 次提交
  18. 23 1月, 2020 1 次提交
  19. 17 12月, 2019 1 次提交
  20. 06 12月, 2019 1 次提交
  21. 05 12月, 2019 2 次提交
  22. 21 11月, 2019 1 次提交
    • T
      env: Add CONFIG_SYS_RELOC_GD_ENV_ADDR symbol · 8d8ee47e
      Tom Rini 提交于
      Today in initr_reloc_global_data() we use some non-obvious tests to
      determine if we need to relocate the env_addr within gd or not.  In
      order to facilitate migration of other symbols to Kconfig we need to
      introduce a new symbol for this particular use case.
      
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Joe Hershberger <joe.hershberger@ni.com>
      Signed-off-by: NTom Rini <trini@konsulko.com>
      8d8ee47e
  23. 08 11月, 2019 1 次提交
  24. 08 10月, 2019 5 次提交
  25. 23 9月, 2019 1 次提交
  26. 26 8月, 2019 2 次提交
  27. 09 7月, 2019 1 次提交
    • M
      at91, omap2plus: configs: migrate CONFIG_ENV_ to defconfigs · a9221f3e
      Markus Klotzbuecher 提交于
      Enable the extended ENV options for AT91 and OMAP2PLUS in order to be
      able to use CONFIG_ENV_UBI_* on these architectures.
      
      As this change also makes the configs ENV_SIZE, ENV_SECT_SIZE,
      ENV_OFFSET visible to AT91 and OMAP2PLUS, migrate users of these to
      KConfig.
      
      This migration was run using an extended moveconfig.py which evaluates
      expressions such as "(512 << 10)". See patch ("moveconfig: expand
      simple expressions").
      
      All modified boards were built with SOURCE_DATE_EPOCH=0 before and
      after the change and successfully confirmed that the identical binary
      is generated (the only exception was igep00x0, which does not define
      CONFIG_ENV_IS_IN_UBI in the original board header. Once that is
      defined, the test passes too).
      
      hs: rebased patch to:
        68b90e57: "configs: tinker-rk3288 disable CONFIG_SPL_I2C_SUPPORT"
      Signed-off-by: NMarkus Klotzbuecher <markus.klotzbuecher@kistler.com>
      Cc: Heiko Schocher <hs@denx.de>
      Cc: Eugen Hristev <eugen.hristev@microchip.com>
      Cc: Tom Rini <trini@konsulko.com>
      a9221f3e
  28. 23 5月, 2019 1 次提交
    • T
      configs: sama5d2_ptc_ek: fix NAND PMECC_CAP · 1cee54eb
      Tudor Ambarus 提交于
      CONFIG_PMECC_CAP has a higher priority than its ONFI detected
      parameter and will overwrite it when defined. As per commit
      49ad4029, CONFIG_PMECC_CAP has a default value of 2 if not
      otherwise stated. This results in the overwriting of the ONFI ECC
      bits value. The following errors are seen when booting the kernel
      from the nand flash:
      
      Loading Environment from NAND... PMECC: Too many errors
      NAND read from offset 140000 failed -74
      *** Warning - some problems detected reading environment; recovered successfully
      *** Warning - bad CRC, using default environment
      
      In:    serial
      Out:   serial
      Err:   serial
      Net:   eth0: ethernet@f8008000
      Hit any key to stop autoboot:  0
      
      NAND read: device 0 offset 0x180000, size 0x80000
      PMECC: Too many errors
      NAND read from offset 180000 failed -74
       0 bytes read: ERROR
      
      NAND read: device 0 offset 0x200000, size 0x600000
      PMECC: Too many errors
      NAND read from offset 200000 failed -74
       0 bytes read: ERROR
      Bad Linux ARM zImage magic!
      
      Fix it by setting the right value for ECC bits.
      
      Fixes: 49ad4029 ("ARM: at91: Convert SPL_GENERATE_ATMEL_PMECC_HEADER to Kconfig")
      Signed-off-by: NTudor Ambarus <tudor.ambarus@microchip.com>
      1cee54eb
  29. 30 4月, 2019 1 次提交
  30. 21 1月, 2019 1 次提交
  31. 01 11月, 2018 1 次提交