1. 17 11月, 2018 25 次提交
  2. 16 11月, 2018 1 次提交
  3. 15 11月, 2018 14 次提交
    • T
      travis: Ensure we use pytest 2.8.7 · f6206f85
      Tom Rini 提交于
      The latest version of pytest (4.0.0) makes some of the code we have in
      test/py/conftest.py a fatal error that needs to be migrated.
      Unfortunately this in turn requires changes that don't exist in older
      versions of pytest such as 2.8.7 that ships with Ubuntu 16.04.  Force
      travis to use this older version of pytest.
      Signed-off-by: NTom Rini <trini@konsulko.com>
      f6206f85
    • T
      Merge branch 'master' of git://git.denx.de/u-boot-sunxi · 6f443330
      Tom Rini 提交于
      6f443330
    • B
      Revert "imx8qxp_mek: Disable CONFIG_DISPLAY_CPUINFO" · 4c6e27f6
      Bin Meng 提交于
      This reverts commit c5bbfaf0.
      
      Disabling CONFIG_DISPLAY_CPUINFO was a temporary solution to get
      the v2018.11 release out. Now the merge window opens, revert it.
      Signed-off-by: NBin Meng <bmeng.cn@gmail.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      4c6e27f6
    • B
      cpu: sandbox: Add "u-boot, dm-pre-reloc" for all cpu nodes · 25d0fe74
      Bin Meng 提交于
      To support CONFIG_DISPLAY_CPUINFO, add "u-boot,dm-pre-reloc" for
      all cpu nodes in Sandbox test.dts.
      Signed-off-by: NBin Meng <bmeng.cn@gmail.com>
      Reviewed-by: NStefan Roese <sr@denx.de>
      25d0fe74
    • B
      cpu: Add DM_FLAG_PRE_RELOC flag to various cpu drivers · c337e1af
      Bin Meng 提交于
      It turns out commit c0434407 broke some boards which have DM CPU
      driver with CONFIG_DISPLAY_CPUINFO option on. These boards just fail
      to boot when print_cpuinfo() is called during boot.
      
      Fixes: c0434407 ("board_f: Use static print_cpuinfo if CONFIG_CPU is active")
      Reported-by: NStefan Roese <sr@denx.de>
      Signed-off-by: NBin Meng <bmeng.cn@gmail.com>
      Reviewed-by: NStefan Roese <sr@denx.de>
      Tested-by: NStefan Roese <sr@denx.de>
      c337e1af
    • B
      dm: doc: Update description of pre-relocation support · 1a6bd471
      Bin Meng 提交于
      Add some description about pre-relocation driver binding, including
      usage of DM_FLAG_PRE_RELOC flag and caveats.
      Signed-off-by: NBin Meng <bmeng.cn@gmail.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      1a6bd471
    • B
      watchdog: Remove DM_FLAG_PRE_RELOC flag in various drivers · 8ee27da3
      Bin Meng 提交于
      When a driver declares DM_FLAG_PRE_RELOC flag, it wishes to be
      bound before relocation. However due to a bug in the DM core,
      the flag only takes effect when devices are statically declared
      via U_BOOT_DEVICE(). This bug has been fixed recently by commit
      "dm: core: Respect drivers with the DM_FLAG_PRE_RELOC flag in
      lists_bind_fdt()", but with the fix, it has a side effect that
      all existing drivers that declared DM_FLAG_PRE_RELOC flag will
      be bound before relocation now. This may expose potential boot
      failure on some boards due to insufficient memory during the
      pre-relocation stage.
      
      To mitigate this potential impact, the following changes are
      implemented:
      
      - Remove DM_FLAG_PRE_RELOC flag in the driver, if the driver
        only supports configuration from device tree (OF_CONTROL)
      - Keep DM_FLAG_PRE_RELOC flag in the driver only if the device
        is statically declared via U_BOOT_DEVICE()
      - Surround DM_FLAG_PRE_RELOC flag with OF_CONTROL check, for
        drivers that support both statically declared devices and
        configuration from device tree
      Signed-off-by: NBin Meng <bmeng.cn@gmail.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      8ee27da3
    • B
      video: simplefb: Remove DM_FLAG_PRE_RELOC flag · e3245e42
      Bin Meng 提交于
      When a driver declares DM_FLAG_PRE_RELOC flag, it wishes to be
      bound before relocation. However due to a bug in the DM core,
      the flag only takes effect when devices are statically declared
      via U_BOOT_DEVICE(). This bug has been fixed recently by commit
      "dm: core: Respect drivers with the DM_FLAG_PRE_RELOC flag in
      lists_bind_fdt()", but with the fix, it has a side effect that
      all existing drivers that declared DM_FLAG_PRE_RELOC flag will
      be bound before relocation now. This may expose potential boot
      failure on some boards due to insufficient memory during the
      pre-relocation stage.
      
      To mitigate this potential impact, the following changes are
      implemented:
      
      - Remove DM_FLAG_PRE_RELOC flag in the driver, if the driver
        only supports configuration from device tree (OF_CONTROL)
      - Keep DM_FLAG_PRE_RELOC flag in the driver only if the device
        is statically declared via U_BOOT_DEVICE()
      - Surround DM_FLAG_PRE_RELOC flag with OF_CONTROL check, for
        drivers that support both statically declared devices and
        configuration from device tree
      Signed-off-by: NBin Meng <bmeng.cn@gmail.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      e3245e42
    • B
      sysreset: Remove DM_FLAG_PRE_RELOC flag in various drivers · ef329a6a
      Bin Meng 提交于
      When a driver declares DM_FLAG_PRE_RELOC flag, it wishes to be
      bound before relocation. However due to a bug in the DM core,
      the flag only takes effect when devices are statically declared
      via U_BOOT_DEVICE(). This bug has been fixed recently by commit
      "dm: core: Respect drivers with the DM_FLAG_PRE_RELOC flag in
      lists_bind_fdt()", but with the fix, it has a side effect that
      all existing drivers that declared DM_FLAG_PRE_RELOC flag will
      be bound before relocation now. This may expose potential boot
      failure on some boards due to insufficient memory during the
      pre-relocation stage.
      
      To mitigate this potential impact, the following changes are
      implemented:
      
      - Remove DM_FLAG_PRE_RELOC flag in the driver, if the driver
        only supports configuration from device tree (OF_CONTROL)
      - Keep DM_FLAG_PRE_RELOC flag in the driver only if the device
        is statically declared via U_BOOT_DEVICE()
      - Surround DM_FLAG_PRE_RELOC flag with OF_CONTROL check, for
        drivers that support both statically declared devices and
        configuration from device tree
      Signed-off-by: NBin Meng <bmeng.cn@gmail.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      ef329a6a
    • B
      serial: Remove DM_FLAG_PRE_RELOC flag in various drivers · 46879196
      Bin Meng 提交于
      When a driver declares DM_FLAG_PRE_RELOC flag, it wishes to be
      bound before relocation. However due to a bug in the DM core,
      the flag only takes effect when devices are statically declared
      via U_BOOT_DEVICE(). This bug has been fixed recently by commit
      "dm: core: Respect drivers with the DM_FLAG_PRE_RELOC flag in
      lists_bind_fdt()", but with the fix, it has a side effect that
      all existing drivers that declared DM_FLAG_PRE_RELOC flag will
      be bound before relocation now. This may expose potential boot
      failure on some boards due to insufficient memory during the
      pre-relocation stage.
      
      To mitigate this potential impact, the following changes are
      implemented:
      
      - Remove DM_FLAG_PRE_RELOC flag in the driver, if the driver
        only supports configuration from device tree (OF_CONTROL)
      - Keep DM_FLAG_PRE_RELOC flag in the driver only if the device
        is statically declared via U_BOOT_DEVICE()
      - Surround DM_FLAG_PRE_RELOC flag with OF_CONTROL check, for
        drivers that support both statically declared devices and
        configuration from device tree
      Signed-off-by: NBin Meng <bmeng.cn@gmail.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      46879196
    • B
      timer: Remove DM_FLAG_PRE_RELOC flag in various drivers · d7a184d4
      Bin Meng 提交于
      When a driver declares DM_FLAG_PRE_RELOC flag, it wishes to be
      bound before relocation. However due to a bug in the DM core,
      the flag only takes effect when devices are statically declared
      via U_BOOT_DEVICE(). This bug has been fixed recently by commit
      "dm: core: Respect drivers with the DM_FLAG_PRE_RELOC flag in
      lists_bind_fdt()", but with the fix, it has a side effect that
      all existing drivers that declared DM_FLAG_PRE_RELOC flag will
      be bound before relocation now. This may expose potential boot
      failure on some boards due to insufficient memory during the
      pre-relocation stage.
      
      To mitigate this potential impact, the following changes are
      implemented:
      
      - Remove DM_FLAG_PRE_RELOC flag in the driver, if the driver
        only supports configuration from device tree (OF_CONTROL)
      - Keep DM_FLAG_PRE_RELOC flag in the driver only if the device
        is statically declared via U_BOOT_DEVICE()
      - Surround DM_FLAG_PRE_RELOC flag with OF_CONTROL check, for
        drivers that support both statically declared devices and
        configuration from device tree
      Signed-off-by: NBin Meng <bmeng.cn@gmail.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      d7a184d4
    • B
      ram: bmips: Remove DM_FLAG_PRE_RELOC flag · 05e42481
      Bin Meng 提交于
      When a driver declares DM_FLAG_PRE_RELOC flag, it wishes to be
      bound before relocation. However due to a bug in the DM core,
      the flag only takes effect when devices are statically declared
      via U_BOOT_DEVICE(). This bug has been fixed recently by commit
      "dm: core: Respect drivers with the DM_FLAG_PRE_RELOC flag in
      lists_bind_fdt()", but with the fix, it has a side effect that
      all existing drivers that declared DM_FLAG_PRE_RELOC flag will
      be bound before relocation now. This may expose potential boot
      failure on some boards due to insufficient memory during the
      pre-relocation stage.
      
      To mitigate this potential impact, the following changes are
      implemented:
      
      - Remove DM_FLAG_PRE_RELOC flag in the driver, if the driver
        only supports configuration from device tree (OF_CONTROL)
      - Keep DM_FLAG_PRE_RELOC flag in the driver only if the device
        is statically declared via U_BOOT_DEVICE()
      - Surround DM_FLAG_PRE_RELOC flag with OF_CONTROL check, for
        drivers that support both statically declared devices and
        configuration from device tree
      Signed-off-by: NBin Meng <bmeng.cn@gmail.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      05e42481
    • B
      pinctrl: Remove DM_FLAG_PRE_RELOC flag in various drivers · ad0e8048
      Bin Meng 提交于
      When a driver declares DM_FLAG_PRE_RELOC flag, it wishes to be
      bound before relocation. However due to a bug in the DM core,
      the flag only takes effect when devices are statically declared
      via U_BOOT_DEVICE(). This bug has been fixed recently by commit
      "dm: core: Respect drivers with the DM_FLAG_PRE_RELOC flag in
      lists_bind_fdt()", but with the fix, it has a side effect that
      all existing drivers that declared DM_FLAG_PRE_RELOC flag will
      be bound before relocation now. This may expose potential boot
      failure on some boards due to insufficient memory during the
      pre-relocation stage.
      
      To mitigate this potential impact, the following changes are
      implemented:
      
      - Remove DM_FLAG_PRE_RELOC flag in the driver, if the driver
        only supports configuration from device tree (OF_CONTROL)
      - Keep DM_FLAG_PRE_RELOC flag in the driver only if the device
        is statically declared via U_BOOT_DEVICE()
      - Surround DM_FLAG_PRE_RELOC flag with OF_CONTROL check, for
        drivers that support both statically declared devices and
        configuration from device tree
      Signed-off-by: NBin Meng <bmeng.cn@gmail.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      ad0e8048
    • B
      mmc: omap: Surround DM_FLAG_PRE_RELOC flag with OF_CONTROL check · 223b10ca
      Bin Meng 提交于
      When a driver declares DM_FLAG_PRE_RELOC flag, it wishes to be
      bound before relocation. However due to a bug in the DM core,
      the flag only takes effect when devices are statically declared
      via U_BOOT_DEVICE(). This bug has been fixed recently by commit
      "dm: core: Respect drivers with the DM_FLAG_PRE_RELOC flag in
      lists_bind_fdt()", but with the fix, it has a side effect that
      all existing drivers that declared DM_FLAG_PRE_RELOC flag will
      be bound before relocation now. This may expose potential boot
      failure on some boards due to insufficient memory during the
      pre-relocation stage.
      
      To mitigate this potential impact, the following changes are
      implemented:
      
      - Remove DM_FLAG_PRE_RELOC flag in the driver, if the driver
        only supports configuration from device tree (OF_CONTROL)
      - Keep DM_FLAG_PRE_RELOC flag in the driver only if the device
        is statically declared via U_BOOT_DEVICE()
      - Surround DM_FLAG_PRE_RELOC flag with OF_CONTROL check, for
        drivers that support both statically declared devices and
        configuration from device tree
      Signed-off-by: NBin Meng <bmeng.cn@gmail.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      223b10ca