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
     

06 Feb, 2017

1 commit


20 Nov, 2015

1 commit


15 Oct, 2013

1 commit


24 Jul, 2013

1 commit


27 Oct, 2012

1 commit

  • Remove calls to serial_assign() that are failing now that it returns a
    proper error code. This calls were not actually doing anything
    because they passed the name of a stdio_dev when a serial_device name
    is exptectd.

    Signed-off-by: Allen Martin
    Acked-by: Joe Hershberger
    Acked-by: Marek Vasut
    Acked-by: Simon Glass
    Tested-by: Simon Glass
    Tested-by: Stephen Warren

    Allen Martin
     

16 Oct, 2012

1 commit


18 Jul, 2009

1 commit

  • So far the console API uses the following naming convention:

    ======Extract======
    typedef struct device_t;

    int device_register (device_t * dev);
    int devices_init (void);
    int device_deregister(char *devname);
    struct list_head* device_get_list(void);
    device_t* device_get_by_name(char* name);
    device_t* device_clone(device_t *dev);
    =======

    which is too generic and confusing.

    Instead of using device_XX and device_t we change this
    into stdio_XX and stdio_dev

    This will also allow to add later a generic device mechanism in order
    to have support for multiple devices and driver instances.

    Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD

    Edited commit message.

    Signed-off-by: Wolfgang Denk

    Jean-Christophe PLAGNIOL-VILLARD
     

07 Dec, 2008

1 commit

  • Modifications to support console multiplexing. This is controlled using
    CONFIG_SYS_CONSOLE_MUX in the board configuration file.

    This allows a user to specify multiple console devices in the environment
    with a command like this: setenv stdin serial,nc. As a result, the user can
    enter text on both the serial and netconsole interfaces.

    All devices - stdin, stdout and stderr - can be set in this manner.

    1) common/iomux.c and include/iomux.h contain the environment setting
    implementation.
    2) doc/README.iomux contains a somewhat more detailed description.
    3) The implementation in (1) is called from common/cmd_nvedit.c to
    handle setenv and from common/console.c to handle initialization of
    input/output devices at boot time.
    4) common/console.c also contains the code needed to poll multiple console
    devices for input and send output to all devices registered for output.
    5) include/common.h includes iomux.h and common/Makefile generates iomux.o
    when CONFIG_SYS_CONSOLE_MUX is set.

    Signed-off-by: Gary Jennejohn

    Gary Jennejohn