12 Aug, 2019

1 commit


26 Jan, 2019

1 commit


16 Jan, 2019

1 commit


07 May, 2018

1 commit

  • When U-Boot started using SPDX tags we were among the early adopters and
    there weren't a lot of other examples to borrow from. So we picked the
    area of the file that usually had a full license text and replaced it
    with an appropriate SPDX-License-Identifier: entry. Since then, the
    Linux Kernel has adopted SPDX tags and they place it as the very first
    line in a file (except where shebangs are used, then it's second line)
    and with slightly different comment styles than us.

    In part due to community overlap, in part due to better tag visibility
    and in part for other minor reasons, switch over to that style.

    This commit changes all instances where we have a single declared
    license in the tag as both the before and after are identical in tag
    contents. There's also a few places where I found we did not have a tag
    and have introduced one.

    Signed-off-by: Tom Rini

    Tom Rini
     

04 Oct, 2017

1 commit

  • U-Boot widely uses error() as a bit noisier variant of printf().

    This macro causes name conflict with the following line in
    include/linux/compiler-gcc.h:

    # define __compiletime_error(message) __attribute__((error(message)))

    This prevents us from using __compiletime_error(), and makes it
    difficult to fully sync BUILD_BUG macros with Linux. (Notice
    Linux's BUILD_BUG_ON_MSG is implemented by using compiletime_assert().)

    Let's convert error() into now treewide-available pr_err().

    Done with the help of Coccinelle, excluing tools/ directory.

    The semantic patch I used is as follows:

    //
    @@@@
    -error
    +pr_err
    (...)
    //

    Signed-off-by: Masahiro Yamada
    Reviewed-by: Simon Glass
    [trini: Re-run Coccinelle]
    Signed-off-by: Tom Rini

    Masahiro Yamada
     

11 Jul, 2017

1 commit


24 Sep, 2016

1 commit


13 Nov, 2015

1 commit

  • Fix below compilation warings happening for hikey_defconfig

    drivers/mmc/dw_mmc.c: In function ‘dwmci_set_idma_desc’:
    drivers/mmc/dw_mmc.c:43:20: warning: cast from pointer to integer
    of different size [-Wpointer-to-int-cast]
    desc->next_addr = (unsigned int)desc + sizeof(struct dwmci_idmac);
    ^
    drivers/mmc/dw_mmc.c: In function ‘dwmci_prepare_data’:
    drivers/mmc/dw_mmc.c:61:35: warning: cast from pointer to integer
    of different size [-Wpointer-to-int-cast]
    dwmci_writel(host, DWMCI_DBADDR, (unsigned int)cur_idmac);
    ^
    drivers/mmc/dw_mmc.c:73:9: warning: cast from pointer to integer
    of different size [-Wpointer-to-int-cast]
    (u32)bounce_buffer + (i * PAGE_SIZE));
    ^
    CC drivers/mmc/hi6220_dw_mmc.o
    drivers/mmc/hi6220_dw_mmc.c: In function ‘hi6220_dwmci_add_port’:
    drivers/mmc/hi6220_dw_mmc.c:51:17: warning: cast to pointer from integer
    of different size [-Wint-to-pointer-cast]
    host->ioaddr = (void *)regbase;

    Signed-off-by: Prabhakar Kushwaha

    Prabhakar Kushwaha
     

13 Aug, 2015

1 commit