25 Jan, 2019

1 commit


27 Jul, 2018

2 commits


14 Jun, 2018

1 commit


15 May, 2018

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
     

08 Nov, 2016

1 commit

  • Commit 5a49f17481bb ("net: mii: Use spatch to update miiphy_register")
    updated the mvgbe implementation of smi_reg_read/smi_reg_write. Prior to
    that change mvgbe_phy_read and mvgbe_phy_write where used as wrappers to
    satisfy the phylib APIs. Because these functions weren't updated in that
    commit build errors where triggered when CONFIG_PHYLIB was enabled.

    Fix these build errors by removing mvgbe_phy_read and mvgbe_phy_write
    and using smi_reg_read/smi_reg_write directly.

    Signed-off-by: Chris Packham
    Acked-by: Joe Hershberger

    Chris Packham
     

24 Sep, 2016

1 commit


16 Aug, 2016

1 commit


15 Jan, 2016

1 commit


19 Apr, 2015

1 commit

  • Update the naming convention used in the network stack functions and
    variables that Ethernet drivers use to interact with it.

    This cleans up the temporary hacks that were added to this interface
    along with the DM support.

    This patch has a few remaining checkpatch.pl failures that would be out
    of the scope of this patch to fix (drivers that are in gross violation
    of checkpatch.pl).

    Signed-off-by: Joe Hershberger
    Acked-by: Simon Glass

    Joe Hershberger
     

26 Jan, 2015

1 commit

  • Each board with defines it's own set of values. If we do not define
    CONFIG_MVGBE_PORTS we will hit following error:

    mvgbe.c: In function 'mvgbe_initialize':
    mvgbe.c:700:34: error: 'CONFIG_MVGBE_PORTS' undeclared (first use in this function)
    u8 used_ports[MAX_MVGBE_DEVS] = CONFIG_MVGBE_PORTS;

    This patch fixes above described problem.

    Signed-off-by: Luka Perkov
    Acked-by: Prafulla Wadaskar

    Luka Perkov
     

23 Oct, 2014

1 commit


23 Nov, 2013

1 commit


24 Jul, 2013

1 commit


25 Jun, 2013

2 commits


24 May, 2012

1 commit

  • These are all the files which use the API incorrectly but did not get
    built using MAKEALL -a powerpc|arm. I have no compiler for them, but
    the remaining issues should be far less than without this patch.

    Any outstanding issues are left to the maintainers of boards that use
    these drivers.

    Signed-off-by: Joe Hershberger

    Joe Hershberger
     

04 Apr, 2012

1 commit

  • Some baords may use the GBE interface but they have no
    phy connected to the interface and a direct MAC/MAC interface.
    For them we need to get rid of compiler warnings.

    Signed-off-by: Stefan Bigler
    Signed-off-by: Valentin Longchamp
    Acked-by: Prafulla Wadaskar

    Stefan Bigler
     

19 Mar, 2012

1 commit

  • A few subsystems are using the same define "NAMESIZE". This has been
    working so far because they define it to the same number. However, I
    want to change the size of eth_device's NAMESIZE, so rather than tweak
    the define names, simply drop references to it. Almost no one does,
    and the handful that do can easily be changed to a sizeof().

    Signed-off-by: Mike Frysinger

    Mike Frysinger
     

21 Dec, 2011

1 commit

  • A network driver should not touch the environment at all. This patch fixes
    this behaviour by removing the code for setting a default/randomized MAC
    address.

    Signed-off-by: Michael Walle
    Acked-by: Mike Frysinger
    Acked-by: Prafulla Wadaskar
    Cc: Mike Frysinger
    Cc: Prafulla Wadaskar
    Cc: Valentin Longchamp
    Cc: Eric Cooper
    Cc: Jason Cooper
    Cc: Siddarth Gore
    Cc: Albert ARIBAUD
    Cc: Simon Guinot
    Acked-by: Prafulla Wadaskar

    Michael Walle
     

06 Dec, 2011

1 commit

  • Fix:
    mvgbe.c: In function 'mvgbe_send':
    mvgbe.c:555:2: warning: dereferencing type-punned pointer will
    break strict-aliasing rules [-Wstrict-aliasing]
    mvgbe.c: In function 'mvgbe_recv':
    mvgbe.c:640:2: warning: dereferencing type-punned pointer will
    break strict-aliasing rules [-Wstrict-aliasing]

    Signed-off-by: Anatolij Gustschin
    Cc: Prafulla Wadaskar
    Acked-By: Prafulla Wadaskar

    Anatolij Gustschin
     

04 Nov, 2011

1 commit

  • Fix build problem:

    mvgbe.c: In function 'mvgbe_initialize':
    mvgbe.c:735: warning: implicit declaration of function 'get_random_hex'
    dockstar.c: In function 'board_early_init_f':
    dockstar.c:43: warning: implicit declaration of function 'kw_config_gpio'
    dockstar.c: In function 'board_init':
    dockstar.c:113: warning: implicit declaration of function 'kw_sdram_bar'
    dockstar.c: In function 'set_leds':
    dockstar.c:161: warning: implicit declaration of function 'readl'
    dockstar.c:161: error: dereferencing pointer to incomplete type
    dockstar.c:162: warning: implicit declaration of function 'writel'
    dockstar.c:162: error: dereferencing pointer to incomplete type
    dockstar.c:163: error: dereferencing pointer to incomplete type
    dockstar.c:164: error: dereferencing pointer to incomplete type
    make[1]: *** [dockstar.o] Error 1
    make: *** [board/Seagate/dockstar/libdockstar.o] Error 2

    Reported-by: Roland Kletzing
    Signed-off-by: Anatolij Gustschin
    Cc: Albert ARIBAUD
    Cc: Prafulla Wadaskar

    Anatolij Gustschin
     

28 Oct, 2011

1 commit

  • For files like the drivers/serial/serial.c, it must include the
    platform file, as the CONFIG_SYS_NS16550_COM1 must reference to the
    definition in the platform definition files.

    Include the platform definition file in the config file, so that it
    would decouple the dependence for the driver files.

    Signed-off-by: Lei Wen

    Lei Wen
     

10 Aug, 2010

1 commit


13 Jul, 2010

3 commits