1. 04 Feb, 2021 2 commits
  2. 26 Jan, 2021 1 commit
  3. 22 Jan, 2021 1 commit
  4. 15 Dec, 2020 1 commit
  5. 09 Dec, 2020 2 commits
  6. 20 Nov, 2020 2 commits
  7. 17 Nov, 2020 3 commits
  8. 13 Nov, 2020 3 commits
  9. 11 Nov, 2020 3 commits
    • Thomas Schäfer's avatar
      pitx-imx8m: enable support for dynamic memory variants · 66c4095c
      Thomas Schäfer authored
      
      
      - add 'board_phys_sdram_size' function to calculate the total amount of
        memory appropriately.
      - set PHYS_SDRAM_SIZE to the maximum possible value of 0xC0000000 (3 GiB)
      - remove 'PHYS_SDRAM_2_SIZE' from board config file.
      Signed-off-by: Thomas Schäfer's avatarThomas Schaefer <thomas.schaefer@kontron.com>
      66c4095c
    • Thomas Schäfer's avatar
      pitx-imx8m: add memory variant support · 2259fde9
      Thomas Schäfer authored
      
      
      - Add support to test available memory.
      - Add test configuration for 2 GiB variant.
      - Use BRD_REV0 and BRD_REV1 signals to detect memory variant of the
        module. Currently, 2 GiB and 4 GiB memory variants are supported.
      Signed-off-by: Thomas Schäfer's avatarThomas Schaefer <thomas.schaefer@kontron.com>
      2259fde9
    • Thomas Schäfer's avatar
      ARM: IMX8M: introduce support for dynamic memory variants · 150c94b5
      Thomas Schäfer authored
      
      
      - Current implementation requires that memory size is configured using
        PHYS_SDRAM and PHYS_SDRAM_2 settings depending on actual memory
        size in the board config file. As PHYS_SDRAM_2 memory area is not
        used if total memory size is < 3 GiB, cache and MMU setup would use
        wrong values when initialized. Thus, dynamic initialization of 4 GiB
        and 2 GiB modules is not possible with one single bootloader binary.
      - Add support to determine actual memory size using the
        'board_phys_sdram_size' function and calculate size of DRAM1 and
        DRAM2 regions accordingly. Fix cache enable setup to use detected size
        of memory areas instead of fixed config values.
      - Ensure that memory regions are set up properly even if OPTEE memory
        region splits DRAM1 into multiple regions.
      Signed-off-by: Thomas Schäfer's avatarThomas Schaefer <thomas.schaefer@kontron.com>
      150c94b5
  10. 10 Nov, 2020 2 commits
  11. 06 Nov, 2020 1 commit
  12. 04 Nov, 2020 1 commit
  13. 03 Nov, 2020 3 commits
  14. 26 Oct, 2020 2 commits
  15. 22 Oct, 2020 2 commits
  16. 21 Oct, 2020 1 commit
    • Thomas Schäfer's avatar
      watchdog: imx_wdt: add variable timeout support · 0baf7db9
      Thomas Schäfer authored
      
      
      - Current driver only allows to define a fixed timeout value in the
        board config file.
      - Extend 'imx_watchdog_init' parameter list with timeout value as
        received by 'imx_wdt_start' function. Calculate timeout value and
        write appropriate value into WCR register.
      - For legacy use, the fixed CONFIG_WATCHDOG_TIMEOUT_MSECS from board
        config is still evaluated.
      Signed-off-by: Thomas Schäfer's avatarThomas Schaefer <thomas.schaefer@kontron.com>
      0baf7db9
  17. 08 Oct, 2020 1 commit
  18. 06 Oct, 2020 3 commits
  19. 05 Oct, 2020 4 commits
  20. 23 Sep, 2020 1 commit
  21. 18 Sep, 2020 1 commit
    • Thomas Schäfer's avatar
      pitx-imx8m: fix compile errors introduced after merge · 86888014
      Thomas Schäfer authored
      
      
      - Fix struct definitions from new u-boot
        Environment data structure were renamed in v2020.04. Fix environment
        env_entry structure definitions.
      - Remove memory setup functions
        Memory setup functions 'dram_init', 'get_effective_memsize' and
        'dram_init_banksize' are defined within mach-imx specific memory
        driver and thus removed here.
      - Fix some device node names
        Some device nodes are renamed in underlying dtsi files. Fix
        references to these nodes.
      - Fix SPL build
        fix include files used
        fix PMIC configuration settings to allow build with PMIC support.
      Signed-off-by: Thomas Schäfer's avatarThomas Schaefer <thomas.schaefer@kontron.com>
      86888014