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
     

28 Apr, 2018

1 commit


01 Jun, 2017

1 commit


08 Feb, 2017

1 commit

  • At present devices use a simple integer offset to record the device tree
    node associated with the device. In preparation for supporting a live
    device tree, which uses a node pointer instead, refactor existing code to
    access this field through an inline function.

    Signed-off-by: Simon Glass

    Simon Glass
     

20 Nov, 2015

4 commits


05 Nov, 2015

1 commit


19 Apr, 2015

1 commit

  • The U-Boot device trees are slightly different in a few places. Adjust them
    to remove most of the differences. Note that U-Boot does not support the
    concept of interrupts as distinct from GPIOs, so this difference remains.

    For sandbox, use the same keyboard file as for ARM boards and drop the
    host emulation bus which seems redundant.

    Signed-off-by: Simon Glass

    Simon Glass
     

06 Jan, 2015

1 commit

  • The ChromeOS EC keyboard is used by various different chromebooks. Peach
    pi being the third board in the u-boot tree to use it (snow and peach
    pit the other two). Rather then embedding the same big DT node in the
    peach-pi DT again, copy the dtsi snippit & bindings documentation from
    linux and include it in all 3 boards.

    This slightly changes the dt bindings in u-boot:
    * google,key-rows becomes keypad,num-rows
    * google,key-colums becomes keypad,num-colums
    * google,repeat-delay-ms and google,repeat-rate-ms are no longer used
    and replaced by hardcoded values (similar to tegra kbc)

    Signed-off-by: Sjoerd Simons
    Acked-by: Simon Glass
    Tested-by: Simon Glass

    Sjoerd Simons
     

23 Jul, 2014

1 commit

  • At present stdio device functions do not get any clue as to which stdio
    device is being acted on. Some implementations go to great lengths to work
    around this, such as defining a whole separate set of functions for each
    possible device.

    For driver model we need to associate a stdio_dev with a device. It doesn't
    seem possible to continue with this work-around approach.

    Instead, add a stdio_dev pointer to each of the stdio member functions.

    Note: The serial drivers have the same problem, but it is not strictly
    necessary to fix that to get driver model running. Also, if we convert
    serial over to driver model the problem will go away.

    Code size increases by 244 bytes for Thumb2 and 428 for PowerPC.

    22: stdio: Pass device pointer to stdio methods
    arm: (for 2/2 boards) all +244.0 bss -4.0 text +248.0
    powerpc: (for 1/1 boards) all +428.0 text +428.0

    Signed-off-by: Simon Glass
    Acked-by: Marek Vasut
    Reviewed-by: Marek Vasut

    Simon Glass
     

18 Mar, 2014

1 commit

  • Some systems do not have an EC interrupt. Rather than assuming that the
    interrupt is always present, and hanging forever waiting for more input,
    handle the missing interrupt. This works by reading key scans only until
    we get an identical one. This means the EC keyscan FIFO is empty.

    Tested-by: Che-Liang Chiou
    Signed-off-by: Simon Glass

    Simon Glass
     

24 Jul, 2013

1 commit


26 Jun, 2013

1 commit