1. 02 Oct, 2016 4 commits
    • Petr Kulhavy's avatar
      disk: part: implement generic function part_get_info_by_name() · 87b8530f
      Petr Kulhavy authored
      So far partition search by name has been supported only on the EFI partition
      table. This patch extends the search to all partition tables.
      
      Rename part_get_info_efi_by_name() to part_get_info_by_name(), move it from
      part_efi.c into part.c and make it a generic function which traverses all part
      drivers and searches all partitions (in the order given by the linked list).
      
      For this a new variable struct part_driver.max_entries is added, which limits
      the number of partitions searched. For EFI this was GPT_ENTRY_NUMBERS.
      Similarly the limit is defined for DOS, ISO, MAC and AMIGA partition tables.
      Signed-off-by: default avatarPetr Kulhavy <brain@jikos.cz>
      Reviewed-by: default avatarTom Rini <trini@konsulko.com>
      Acked-by: default avatarSteve Rae <steve.rae@raedomain.com>
      87b8530f
    • Zubair Lutfullah Kakakhel's avatar
      bootm: fix passing argc to standalone apps · ba079840
      Zubair Lutfullah Kakakhel authored
      This bug appears in b6396403 which makes u-boot unable to pass
      arguments via bootm to a standalone application without this patch.
      
      Steps to reproduce.
      
      Compile a u-boot. Use mkimage to package the standalone hello_world.bin
      file.
      
      e.g. For the MIPS Boston platform
      
      mkimage -n "hello" -A mips -O u-boot -C none -T standalone \
           -a 0xffffffff80200000 -d hello_world.bin \
           -ep 0xffffffff80200000 hello_out
      
      Then tftp hello_out and run it using
      
      boston # dhcp 192.168.154.45:hello_out
      ...
      boston # bootm $loadaddr 123 321
      
      Without the patch the following output is observed.
      
      boston # bootm $loadaddr 123 321
         Image Name:   hello
         Image Type:   MIPS U-Boot Standalone Program (uncompressed)
         Data Size:    1240 Bytes = 1.2 KiB
         Load Address: 80200000
         Entry Point:  80200000
         Verifying Checksum ... OK
         Loading Standalone Program ... OK
      Example expects ABI version 8
      Actual U-Boot ABI version 8
      Hello World
      argc = 0
      argv[0] = "0xffffffff88000000"
      
      With the patch, you see the following.
      
      boston # bootm $loadaddr 123 321
         Image Name:   hello
         Image Type:   MIPS U-Boot Standalone Program (uncompressed)
         Data Size:    1240 Bytes = 1.2 KiB
         Load Address: 80200000
         Entry Point:  80200000
         Verifying Checksum ... OK
         Loading Standalone Program ... OK
      Example expects ABI version 8
      Actual U-Boot ABI version 8
      Hello World
      argc = 3
      argv[0] = "0xffffffff88000000"
      argv[1] = "123"
      argv[2] = "321"
      argv[3] = "<NULL>"
      
      Without the patch, the go command at the entry point seems to work.
      
      boston # go 0xffffffff80200000 123 321
      Example expects ABI version 8
      Actual U-Boot ABI version 8
      Hello World
      argc = 3
      argv[0] = "0xffffffff80200000"
      argv[1] = "123"
      argv[2] = "321"
      argv[3] = "<NULL>"
      Hit any key to exit ...
      Signed-off-by: default avatarZubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      ba079840
    • Masahiro Yamada's avatar
      input: specify the default of I8042_KEYB in more correct manner · b98278be
      Masahiro Yamada authored
      Creating multiple entries of "config FOO" often gives us bad
      experiences.  In this case, we should specify "default X86"
      as platforms that want this keyboard by default.
      Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      Acked-by: default avatarMarek Vasut <marex@denx.de>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      b98278be
    • Masahiro Yamada's avatar
      sandbox, x86: select DM_KEYBOARD instead of default y entry · 558e1257
      Masahiro Yamada authored
      Once we migrate to DM-based drivers, we cannot go back to legacy
      ones, i.e. config options like DM_* are not user-configurable.
      
      Make SANDBOX and X86 select DM_KEYBOARD like other platforms do.
      Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      558e1257
  2. 01 Oct, 2016 2 commits
  3. 29 Sep, 2016 1 commit
  4. 28 Sep, 2016 3 commits
  5. 27 Sep, 2016 30 commits