1. 26 4月, 2016 5 次提交
  2. 25 4月, 2016 17 次提交
  3. 24 4月, 2016 13 次提交
  4. 22 4月, 2016 5 次提交
    • T
      Merge branch 'master' of git://git.denx.de/u-boot-x86 · 65341967
      Tom Rini 提交于
      65341967
    • H
      ubifs: fix memory corruption in super.c · b1d6590d
      Heiko Schocher 提交于
      In list "super_blocks" ubifs collects allocated super_block
      structs. U-Boot frees on unmount the allocated struct,
      so the pointer stored in this list is free after the umount.
      On a new ubifs mount, the new allocated super_block struct
      get inserted into the super_blocks list ... which contains
      now a freed pointer, and the list_add_tail() corrupts the
      freed memory ...
      
      2 solutions are possible:
      - remove the super_block from the super_blocks list
        on umount
      
      - as U-Boot does not use the super_blocks list ...
        remove it complete for U-Boot.
      
      Both solutions should not introduce problems for porting
      to newer linux version, so this patch removes the unused
      super_blocks list, as it saves code size and execution
      time.
      Signed-off-by: NHeiko Schocher <hs@denx.de>
      b1d6590d
    • H
      mtd, ubi: set free_count to zero before walking through erase list · 68fc4490
      Heiko Schocher 提交于
      Set free_count to zero before walking through ai->erase list
      in wl_init().
      
      As U-Boot has no workqueue/threads, it immediately calls
      erase_worker(), which increase for each erased block
      free_count. Without this patch, free_count gets after
      this initialized to zero in wl_init(), so the free_count
      variable always has the maybe wrong value 0.
      
      Detected this behaviour on the dxr2 board, where the
      UBI fastmap gets not written when attaching/dettaching
      on an empty NAND. It drops instead the error message:
      
      could not find any anchor PEB
      
      With this patch, fastmap gets written on dettach.
      Signed-off-by: NHeiko Schocher <hs@denx.de>
      Reviewed-by: NBoris Brezillon <boris.brezillon@free-electrons.com>
      68fc4490
    • B
      x86: Correct typo of Miao Yan's email address · 7b63b183
      Bin Meng 提交于
      Miao Yan's email address is wrong in fw_cfg.c. Fix it.
      Signed-off-by: NBin Meng <bmeng.cn@gmail.com>
      7b63b183
    • B
      x86: qemu: Drop our own ACPI implementation · 697ec431
      Bin Meng 提交于
      Our own ACPI implementation (when CONFIG_QEMU_ACPI_TABLE is not set)
      does not build anymore after x86 has been fully converted to DM PCI.
      Instead of trying to fix the build errors, given we now have the ACPI
      support via QEMU's fw_cfg interface, which is a more reliable way to
      generate correct ACPI tables than by ourselves, hence drop our own
      ACPI implementation.
      Signed-off-by: NBin Meng <bmeng.cn@gmail.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      697ec431