1. 06 Sep, 2018 1 commit
    • Ye Li's avatar
      MLK-19465 imx8mq: Fix cpu rev issue on B0.1 chip · 8be98e93
      Ye Li authored
      
      
      We read the ROM version to determine the CPU revision before B1 chip.
      The rom version is 4 bytes word, it has major version at low byte,
      minor version at second byte.
      
      On B0.1 chip, the value is 0x1020 not 0x20, if reading the word and comparing
      with 0x20, the result is wrong.
      
      Fix the issue by only reading the lowest byte for major version.
      Signed-off-by: default avatarYe Li <ye.li@nxp.com>
      (cherry picked from commit 8d0812e63155cca91ecb78c630a450e7d5e5fd00)
      8be98e93
  2. 05 Sep, 2018 1 commit
    • Ye Li's avatar
      MLK-19433-2 imx8mq: Get chip rev for B1 revision · 9dba7a4d
      Ye Li authored
      
      
      The mscale B1 uses OCOTP_HW_OCOTP_READ_FUSE_DATA register for chip id.
      It returns a magic number 0xff0055aa.
      Update get_cpu_rev to support this way, also enable OCOTP clock to allow
      access OCOTP register.
      Signed-off-by: default avatarYe Li <ye.li@nxp.com>
      (cherry picked from commit 866631c2140b9352c6f74ec36d1a51fea40c0445)
      9dba7a4d
  3. 28 Aug, 2018 1 commit
    • Zhang Bo's avatar
      MA-12536[Android] Enable RTC for imx8m in uboot · b6a1a19c
      Zhang Bo authored
      
      
      Enable RTC in bootloader to avoid rtc time less than jiffies time
      when linux first bootup after RTC lose power.
      It will cause the issue as
      MA-9554[Android_6DL_SD]RTC: Sometimes the RTC reset to the initial
      time 1970 after softare reboot the first time. 40%
      
      Change-Id: I0c87180640be98a2c928a30c6949f91f4515844d
      Signed-off-by: default avatarZhang Bo <bo.zhang@nxp.com>
      b6a1a19c
  4. 16 Aug, 2018 1 commit
  5. 08 Aug, 2018 1 commit
    • Ye Li's avatar
      MLK-19159 imx8mm_evk: Fix build break for flexspi defconfig · 42d21af4
      Ye Li authored
      
      
      The flexspi defconfig uses CONFIG_ENV_IS_IN_SPI_FLASH not CONFIG_ENV_IS_IN_MMC.
      So when fastboot is enabled for flexspi, the build break happens.
      
      drivers/usb/gadget/built-in.o: In function `board_fastboot_setup':
      /home/leyoen/Workspace/uboot-imx/drivers/usb/gadget/f_fastboot.c:1539: undefined reference to `mmc_get_env_dev'
      drivers/usb/gadget/built-in.o: In function `_fastboot_setup_dev':
      /home/leyoen/Workspace/uboot-imx/drivers/usb/gadget/f_fastboot.c:1260: undefined reference to `mmc_get_env_dev'
      drivers/usb/gadget/built-in.o: In function `get_single_var':
      /home/leyoen/Workspace/uboot-imx/drivers/usb/gadget/f_fastboot.c:2935: undefined reference to `mmc_get_env_dev'
      drivers/usb/gadget/built-in.o: In function `bcb_rw_block':
      /home/leyoen/Workspace/uboot-imx/drivers/usb/gadget/bcb.c:120: undefined reference to `mmc_get_env_dev'
      
      Fix the issue by decoupling mmc_get_env_dev function with CONFIG_ENV_IS_IN_MMC
      Signed-off-by: default avatarYe Li <ye.li@nxp.com>
      (cherry picked from commit 2716f9a325681737593b3a6e79f94576a35067c2)
      42d21af4
  6. 13 Jul, 2018 1 commit
  7. 18 May, 2018 2 commits
  8. 11 May, 2018 1 commit
  9. 10 May, 2018 5 commits
  10. 15 Dec, 2017 1 commit
  11. 04 Dec, 2017 1 commit
  12. 30 Nov, 2017 1 commit
  13. 24 Nov, 2017 1 commit
  14. 22 Nov, 2017 1 commit
  15. 20 Nov, 2017 1 commit
  16. 16 Nov, 2017 1 commit
  17. 13 Nov, 2017 2 commits
  18. 10 Nov, 2017 1 commit
  19. 08 Nov, 2017 1 commit
  20. 02 Nov, 2017 15 commits