1. 08 1月, 2019 2 次提交
  2. 07 1月, 2019 1 次提交
  3. 06 1月, 2019 2 次提交
  4. 04 1月, 2019 2 次提交
  5. 03 1月, 2019 14 次提交
  6. 02 1月, 2019 5 次提交
  7. 01 1月, 2019 14 次提交
    • T
      Merge tag 'u-boot-imx-20190101' of git://www.denx.de/git/u-boot-imx · 522e0354
      Tom Rini 提交于
      imx for 2019.01
      
      - introduce support for i.MX8M
      - fix size limit for Vhybrid / pico boards
      - several board fixes
      - w1 driver for MX2x / MX5x
      522e0354
    • F
      pico-imx7d: Increase the CONFIG_ENV_OFFSET size · 57d2beb9
      Fabio Estevam 提交于
      U-Boot binary has grown in such a way that it goes beyond the reserved
      area for the environment variables.
      
      Running "saveenv" causes U-Boot to hang because of this overlap.
      
      Fix this problem by increasing the CONFIG_ENV_OFFSET size.
      
      Also, in order to prevent this same problem in the future, use
      CONFIG_BOARD_SIZE_LIMIT, which will detect the overlap in build-time.
      
      CONFIG_BOARD_SIZE_LIMIT does not accept math expressions, so declare
      CONFIG_ENV_OFFSET with its direct value instead.
      Signed-off-by: NFabio Estevam <festevam@gmail.com>
      Acked-by: NOtavio Salvador <otavio@ossystems.com.br>
      57d2beb9
    • L
      nand: vybrid: Extend the vf610 NFC NAND driver to support device tree (and DM) · acdf10e1
      Lukasz Majewski 提交于
      This commit adds support for device tree and enumeration via device model
      for the Vybrid's NFC NAND driver.
      Signed-off-by: NLukasz Majewski <lukma@denx.de>
      acdf10e1
    • L
      Kconfig: Add entry for VF610 NAND NFC device tree aware driver · 8a12d127
      Lukasz Majewski 提交于
      This commit provides code to add proper entry to Kconfig to enable
      support for VF610 device tree aware driver.
      Signed-off-by: NLukasz Majewski <lukma@denx.de>
      8a12d127
    • L
      nand: vybrid: Use calloc() instead of malloc() to allocate struct nfc · 254409db
      Lukasz Majewski 提交于
      Without this change it is possible that Vybrid's NFC driver malloc() call
      will obtain some memory used (and correctly free'd) by some previous
      driver (in this case pinctrl for Vybrid).
      
      As a result some fields of struct nfc - in out case mtd->_get_device - are
      "pre initialized" with some random values.
      
      On the latter stage of booting, when e.g. somebody calls 'mtdparts default'
      the "data abort" is observed when __get_mtd_device() function is called.
      
      The mtd->_get_device pointer is not NULL and wrong value is referenced.
      Signed-off-by: NLukasz Majewski <lukma@denx.de>
      Reviewed-by: NStefan Agner <stefan.agner@toradex.com>
      254409db
    • P
      imx: mx53ppd: fix build error · f026c1d9
      Peng Fan 提交于
      board/ge/mx53ppd/mx53ppd.c: In function 'board_late_init':
      board/ge/mx53ppd/mx53ppd.c:359:23: error: passing argument 2 of 'read_vpd' from incompatible pointer type [-Werror=incompatible-pointer-types]
        res = read_vpd(&vpd, vpd_callback);
                             ^~~~~~~~~~~~
      In file included from board/ge/mx53ppd/mx53ppd.c:37:0:
      board/ge/mx53ppd/../../ge/common/vpd_reader.h:19:5: note: expected 'int (*)(struct vpd_cache *, u8,  u8,  u8,  size_t,  const u8 *) {aka int (*)(struct vpd_cache *, unsigned char,  unsigned char,  unsigned char,  unsigned int,  const unsigned char *)}' but argument is of type 'int (*)(void *, u8,  u8,  u8,  size_t,  const u8 *) {aka int (*)(void *, unsigned char,  unsigned char,  unsigned char,  unsigned int,  const unsigned char *)}'
      int read_vpd(struct vpd_cache *cache,
           ^~~~~~~~
      cc1: all warnings being treated as errors
      Signed-off-by: NPeng Fan <peng.fan@nxp.com>
      Acked-by: NStefano Babic <sbabic@denx.de>
      f026c1d9
    • H
      pcm058: fix NAND flash not using badblock table · d98f191a
      Harald Seiler 提交于
      Currently, U-Boot ignores the BBT stored in the last 4 blocks of NAND
      flash because the NAND_BBT_USE_FLASH flag is not set.  This leads to
      two issues:
      
      * U-Boot silently uses a memory-only BBT which is initialized with all
        blocks marked as good.  This means, actual bad blocks are marked good
        and U-Boot might try writing to or reading from them.
      * The BBT in flash, which will be created once Linux boots up, is not
        off limits for a driver ontop, like UBI.  While it does not seem to
        consistently produce an error, sometimes UBI will fail to attach
        because the BBT blocks obviously don't contain valid UBI data.
      
      To fix this, this patch sets the CONFIG_SYS_NAND_USE_FLASH_BBT option,
      which is used in ./drivers/mtd/nand/raw/mxs_nand.c to decide whether
      a BBT in flash is used.
      Signed-off-by: NHarald Seiler <hws@denx.de>
      d98f191a
    • P
      imx8m: ddr: removed unused macros · 416f6319
      Peng Fan 提交于
      Remove unused DDRC register macros.
      Signed-off-by: NPeng Fan <peng.fan@nxp.com>
      416f6319
    • P
      imx: add i.MX8MQ EVK support · 86ac7a9a
      Peng Fan 提交于
      Add i.MX8MQ EVK support. SPL will initialize ddr and load ddr phy
      firmware. Then loading FIT image, ATF to OCRAM, U-Boot and DTB to
      DRAM.
      
      The boot log with Arm trusted firmware console enabled:
      "
      U-Boot SPL 2018.11-00142-g9ae14e7274 (Nov 20 2018 - 18:13:16 +0800)
      PMIC:  PFUZE100 ID=0x10
      Normal Boot
      Trying to boot from MMC2
      NOTICE:  Configureing TZASC380
      NOTICE:  BL31: v1.5(release):p9.0.0_1.0.0-beta-20180928-8-ge09c4b62-dirty
      NOTICE:  BL31: Built : 09:28:54, Nov  8 2018
      lpddr4 swffc start
      NOTICE:  sip svc init
      
      U-Boot 2018.11-00142-g9ae14e7274 (Nov 20 2018 - 18:13:16 +0800)
      
      CPU:   Freescale i.MX8MQ rev2.0 at 1000 MHz
      Reset cause: POR
      Model: Freescale i.MX8MQ EVK
      DRAM:  3 GiB
      MMC:   FSL_SDHC: 0, FSL_SDHC: 1
      In:    serial
      Out:   serial
      Err:   serial
      Net:
      Warning: ethernet@30be0000 using MAC address from ROM
      eth0: ethernet@30be0000
      Hit any key to stop autoboot:  0
      "
      Signed-off-by: NPeng Fan <peng.fan@nxp.com>
      Cc: Fabio Estevam <fabio.estevam@nxp.com>
      Cc: Stefano Babic <sbabic@denx.de>
      86ac7a9a
    • P
      drivers: ddr: introduce DDR driver for i.MX8M · e3963c09
      Peng Fan 提交于
      Introduce DDR driver for i.MX8M. The driver will be used by SPL to
      initialze DDR PHY and DDR Controller.
      Signed-off-by: NPeng Fan <peng.fan@nxp.com>
      e3963c09
    • P
      imx: imx8m: add lpddr4 header file · 389023ce
      Peng Fan 提交于
      Introduce lpddr4 header file
      Signed-off-by: NPeng Fan <peng.fan@nxp.com>
      389023ce
    • P
      imx: imx8m: not build bootaux when building SPL · 60afc500
      Peng Fan 提交于
      No need to build bootaux in SPL stage
      Signed-off-by: NPeng Fan <peng.fan@nxp.com>
      60afc500
    • P
      imx: imx8mq: build flash.bin · 94df9885
      Peng Fan 提交于
      Build flash.bin for i.MX8MQ, it will include signed hdmi firmware,
      spl, ddr firmware, fit image(bl31.bin, u-boot-nodtb.bin, dtb).
      Burn it to 33KB offset of SD card.
      Signed-off-by: NPeng Fan <peng.fan@nxp.com>
      94df9885
    • P
      imx: imx8m: introduce imximage cfg file · dfbc296a
      Peng Fan 提交于
      imximage.cfg will be used to generate the flash.bin
      Signed-off-by: NPeng Fan <peng.fan@nxp.com>
      dfbc296a