08 Jan, 2016

24 commits


07 Jan, 2016

2 commits


06 Jan, 2016

1 commit

  • since:
    commit: f05ad9ba "Add a way to skip relocation"

    tqm5200s board fails to boot. Reason is that
    board_init_f has a function parameter bootflag,
    which is not setup in
    in arch/powerpc/cpu/mpc5xxx/start.S _start

    So board_init_f gets a undefined bootflag,
    currently the gd pointer address. Unfortunately
    this address sets the GD_FLG_SKIP_RELOC bit,
    so u-boot code gets not relocated and u-boot
    does not boot ...

    Init bootflag with 0, and tqm5200 boots fine again.

    Signed-off-by: Heiko Schocher
    Reviewed-by: Simon Glass
    Reviewed-by: York Sun

    Heiko Schocher
     

05 Jan, 2016

8 commits

  • Signed-off-by: Tom Rini

    Tom Rini
     
  • Use snprintf to replace sprintf.

    Coverity log:
    "
    Unbounded source buffer (STRING_SIZE)
    string_size: Passing string init_val of unknown size to sprintf.
    "

    Reported-by: Coverity
    Signed-off-by: Peng Fan
    Cc: Tom Rini
    Cc: Simon Glass
    Reviewed-by: Joe Hershberger

    Peng Fan
     
  • Before calling hsearch_r, initialize callback entry to NULL.

    Coverity log:
    "
    Uninitialized scalar variable (UNINIT)
    uninit_use_in_call: Using uninitialized value e.
    Field e.callback is uninitialized when calling hsearch_r.
    "

    Reported-by: Coverity
    Signed-off-by: Peng Fan
    Cc: Tom Rini
    Cc: Simon Glass

    Peng Fan
     
  • Whether CONFIG_SYS_HUSH_PARSER is defined or not, should always
    check to free 'buff' to avoid memory leak.

    Signed-off-by: Peng Fan
    Cc: Tom Rini
    Cc: Masahiro Yamada
    Cc: Simon Glass

    Peng Fan
     
  • In struct e1000_rx_desc, field 'length' is declared as
    uint16_t, so use le16_to_cpu() to do endianness conversion.

    Also drop conversion on 'status' which is declared as
    uint8_t.

    Signed-off-by: Miao Yan
    Reviewed-by: Bin Meng

    Miao Yan
     
  • In pci_map_region(), pass 'range_id' to fdt_read_range(),
    otherwise the same address will be mapped again in other
    calls to pci_map_region()

    Signed-off-by: Miao Yan
    Reviewed-by: Bin Meng
    Reviewed-by: Alexander Graf

    Miao Yan
     
  • using checkpatch with Perl 5.22.0 generates a warning,
    this is fixed in linux through commit:

    commit 4e5d56bdf892e18832a6540b63ebf709966bce2a
    Author: Eddie Kovsky
    Date: Wed Sep 9 15:37:52 2015 -0700

    checkpatch: fix left brace warning

    Using checkpatch.pl with Perl 5.22.0 generates the following warning:

    Unescaped left brace in regex is deprecated, passed through in regex;

    This patch fixes the warnings by escaping occurrences of the left brace
    inside the regular expression.

    Adapt it for U-Boot.

    Signed-off-by: Heiko Schocher

    Heiko Schocher
     
  • Table 41 of the JEDEC standard for eMMC says that bit 31 of
    the command argument is obsolete when issuing the ERASE
    command (CMD38) on page 115 of this document:
    http://www.jedec.org/sites/default/files/docs/jesd84-B45.pdf

    The SD Card Association Physical Layer Simplified Specification also
    makes no mention of the use of bit 31.
    https://www.sdcard.org/downloads/pls/part1_410.pdf

    The Linux kernel distinguishes between secure (bit 31 set) and
    non-secure erase, and this patch copies the macro names from
    include/linux/mmc/core.h.

    Tested-by: Fabio Estevam
    Signed-off-by: Eric Nelson
    Tested-by: Hector Palacios

    Eric Nelson
     

04 Jan, 2016

2 commits


03 Jan, 2016

3 commits