1. 20 Jan, 2019 2 commits
    • Hugo Grostabussiat's avatar
      imx8m spl: load the M4 code from the boot partition · 35cce237
      Hugo Grostabussiat authored
      For eMMC booting from one of their hardware boot partitions, load the M4
      binary from the hwpartition the SPL booted from.
      This enables booting U-boot entirely from the eMMC boot1 or boot2
      hwpartitions, thus keeping the bootloader and all the SoC-specific boot
      black magic out of the way of the user.
    • Hugo Grostabussiat's avatar
      imx8m spl: code cleanup · ef141389
      Hugo Grostabussiat authored
      - Put the MMC device initialization part in a separate function.
      - Flatten indented code by using "return" in the exception path, since
        there is no error handling to perform.
      - Include the full function definition for ddr_load_train_code() in the
        preprocessor conditional, so you don't have to scroll up to see the
        function prototype for the #else case.
  2. 28 Dec, 2018 2 commits
  3. 18 Dec, 2018 1 commit
  4. 15 Dec, 2018 1 commit
  5. 25 Nov, 2018 4 commits
  6. 20 Nov, 2018 2 commits
  7. 14 Nov, 2018 1 commit
  8. 19 Oct, 2018 2 commits
  9. 17 Oct, 2018 1 commit
  10. 16 Oct, 2018 1 commit
  11. 31 Aug, 2018 1 commit
  12. 21 Aug, 2018 1 commit
  13. 16 Aug, 2018 1 commit
  14. 13 Aug, 2018 1 commit
    • Ye Li's avatar
      MLK-19157 imx8mm_evk: Disable dsi panel before booting kernel · 4d436d59
      Ye Li authored
      Pull down the DSI_EN gpio to disable mipi dsi panel before booting kernel.
      This avoids display full yellow screen before kernel mipi driver probes
      the device.
      For MIPI2HDMI card, this DSI_EN gpio is not used. So nothing impact to it.
      Signed-off-by: default avatarYe Li <ye.li@nxp.com>
      (cherry picked from commit e73adc9a139f2e8bb92bda1631fa2f2391a8a5e3)
  15. 25 Jul, 2018 1 commit
  16. 20 Jul, 2018 1 commit
  17. 19 Jul, 2018 1 commit
    • Ye Li's avatar
      MLK-18945-10 imx8mm_evk: Add splash screen support for MIPI DSI · 41f896ce
      Ye Li authored
      Add board level codes for enabling splash screen on imx8mm EVK. We
      support two different display connecting to MIPI DSI miniSAS interfaces:
      1. MIPI2HDMI daughter card (default)
      2. RM67191 OLED panel
      Users can set "panel" env vairable to "MIPI2HDMI" or "RM67191_OLED" to
      switch them after reboot.
      Signed-off-by: default avatarYe Li <ye.li@nxp.com>
  18. 18 Jul, 2018 1 commit
  19. 16 Jul, 2018 1 commit
  20. 06 Jul, 2018 2 commits
  21. 04 Jul, 2018 3 commits
    • Luo Ji's avatar
      MA-12124 [Android] Fix build warnings for u-boot · e93d389b
      Luo Ji authored
      Fix build warnings in u-boot.
      Change-Id: I1944657d2d89a03c0d2303a22a09538dfaa5fd2c
      Signed-off-by: default avatarLuo Ji <ji.luo@nxp.com>
    • Braden Kell's avatar
      [iot] Move i2c_setup calls to board_init · dc8239ed
      Braden Kell authored
      i2c_setup calls force_idle_bus which calls
      get_timer if SDA and SCL are not high. On the Pico
      baseboard there are level shifters that pull SDA
      and SCL high, but the test harness does not have
      pull-ups on these lines. Because
      board_early_init_f is called before timer_init the
      call to get_timer was causing a divide-by-zero
      error due to CNTFRQ not being initialized. Moving
      the i2c_setup calls to board_init fixes this
      issue. power_init_board (which uses I2C to
      configure the PMIC) is called after board_init, so
      this should be safe.
      Test: PMIC registers are read correctly on both
            boards (DEV_ID=0x30 REV_ID=0x11)
      Test: iMX7D SOM boots on Pico baseboard
      Test: iMX7D SOM boots on test harness
      Change-Id: Iecdd28f3177fe915a3b614565d8dfa6e20e6a842
    • Haoran.Wang's avatar
      [iot] Add imx8m-phanbell support · 5ffdf45d
      Haoran.Wang authored
      Change-Id: Ic0839045e3c13e6577a8f3e449c69f4f30f958b2
      Signed-off-by: default avatarHaoran.Wang <elven.wang@nxp.com>
  22. 26 Jun, 2018 1 commit
    • Ye Li's avatar
      MLK-18654-4 imx8mm_evk: Enable SPL SDP for iMX8MM EVK board · 619dd4df
      Ye Li authored
      Enable the SPL SDP for iMX8MM EVK. So that when booting from USB serial
      download mode, the SPL will enter SDP to download FIT image from USB host
      (uuu tool) and boot into FIT image.
      The SDP driver needs larger malloc pool size, so extend the SPL malloc pool
      to 12KB and reduce the SPL BSS MAX to 4KB because BSS actual size is about 1KB.
      Signed-off-by: default avatarYe Li <ye.li@nxp.com>
      (cherry picked from commit deb9c2bbebc4958ff35157159f68272ce1746143)
  23. 22 Jun, 2018 1 commit
  24. 18 Jun, 2018 1 commit
  25. 13 Jun, 2018 1 commit
    • Peng Fan's avatar
      MLK-18577-7 imx8qm: mek: support uboot in vm · a4e932ca
      Peng Fan authored
      We are targeting let uboot loading images from emmc to boot android.
      Currently only emmc1 is enabled, so other devices are disabled.
      Also change memory layout according to VM layout. The memory layout
      needs to be samesize as what you configured in as "memory = "3584"".
      Add a new dts dedicated for this kind uboot, add a new defconfig
      select CONFIG_ENABLE_ARM_SOC_BOOT0_HOOK, and disable some devices
      compared with imx8qm_mek_androidauto_defconfig.
      Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
  26. 31 May, 2018 4 commits
    • Ye Li's avatar
      MLK-18437-5 imx8mm_evk: Implement the board_ehci_usb_phy_mode · 5a4408c7
      Ye Li authored
      Add the board_ehci_usb_phy_mode in board codes to overwrite the default
      in ehci-mx6 driver. Since the DRP is enabled in tcpc, we use the feature
      in board_ehci_usb_phy_mode to detect current role. Then driver can
      assign correct role type to board_usb_init and board_usb_cleanup.
      Signed-off-by: default avatarYe Li <ye.li@nxp.com>
    • Ye Li's avatar
      MLK-18437-4 tcpc: Enable DRP when setting DFP or UFP · 9617e630
      Ye Li authored
      Enable the DRP, so the tcpc can try to toggle the role. This helps to
      determine the current role when we don't know whether device or host is
      Signed-off-by: default avatarYe Li <ye.li@nxp.com>
    • Ye Li's avatar
      MLK-18437-3 imx8mm_evk: Implement the PD switch callback for NX20P3483 · 7be626ee
      Ye Li authored
      Since the PD switch callback is added to tcpc driver, we move the
      NX20P3483 settings to this callback to exit DB and set OVP.
      Signed-off-by: default avatarYe Li <ye.li@nxp.com>
    • Ye Li's avatar
      MLK-18437-2 tcpc: Add external PD switch call back · 30004c6b
      Ye Li authored
      Introduce a callback function to setup external PD switch. When PD
      process is enabled, we call this function only when SINK_VBUS is enabled
      to avoid system power shut down.
      When PD process is disabled, since the tcpc and external PD switch may
      still in dead battery mode, set them to exit dead battery.
      This patch is used to fix two issues on iMX8MM EVK:
      1. When power on the board, by default the PTN5110 and NX20P3483 will
         enter dead battery mode. But for some cases, like timing issue for PTN5110
         and NX20P3483 (refer rework instructions CQ6), and when dual port are plugin
         power sources. There are possibility the PTN5110 does not enter dead battery mode,
         but NX20P3483 is in dead battery. So for the USB2 primary power port, we has to check
         SINK_VBUS before NX20P3483 exits dead battery, otherwise the system power will shut down
      2. For the USB1 port, when dual port are plugin power sources. We need to set both
         PTN5110 and NX20P3483 exit dead battery. Otherwise this port can't work for normal
         host/device mode.
      Signed-off-by: default avatarYe Li <ye.li@nxp.com>
  27. 29 May, 2018 1 commit