1. 11 Nov, 2020 2 commits
    • 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>
    • 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>
  2. 10 Nov, 2020 2 commits
  3. 06 Nov, 2020 1 commit
  4. 04 Nov, 2020 1 commit
  5. 03 Nov, 2020 3 commits
  6. 26 Oct, 2020 2 commits
  7. 22 Oct, 2020 2 commits
  8. 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>
  9. 08 Oct, 2020 1 commit
  10. 06 Oct, 2020 3 commits
  11. 05 Oct, 2020 4 commits
  12. 23 Sep, 2020 1 commit
  13. 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>
  14. 17 Sep, 2020 16 commits