10 Jan, 2020

1 commit


03 Dec, 2019

1 commit


12 Aug, 2019

2 commits


10 Dec, 2018

2 commits

  • This implements a driver using a RTC-based backing store for the DM
    bootcount implementation. The node configuring this feature will be
    compatible with 'u-boot,bootcount-rtc' and the underlying RTC device
    shall be reference through the property 'rtc'. An offset into the RTC
    device's register space can be provided through the 'offset' property.

    Tested on a RK3399-Q7 on a Flamingo carrier board using the SRAM area
    of the carrier board's RV3029 RTC.

    Signed-off-by: Philipp Tomsich

    Philipp Tomsich
     
  • The original bootcount methods do not provide an interface to DM and
    rely on a static configuration for I2C devices (e.g. bus, chip-addr,
    etc. are configured through defines statically). On a modern system
    that exposes multiple devices in a DTS-configurable way, this is less
    than optimal and a interface to DM-based devices will be desirable.

    This adds a simple driver that is DM-aware and configurable via DTS.
    If ambiguous (i.e. multiple bootcount-devices are present) the
    /chosen/u-boot,bootcount-device property can be used to select one
    bootcount device.

    Initially, this provides support for the following DM devices:
    * RTC devices

    Signed-off-by: Philipp Tomsich
    Tested-by: Klaus Goger

    Philipp Tomsich
     

20 Oct, 2018

1 commit


18 Aug, 2018

1 commit


04 Aug, 2018

1 commit

  • 1947c2d2a0 introduces cache line flushes for the bootcounter, but if
    the start address is not aligned then the flush causes warnings of
    the form:

    CACHE: Misaligned operation at range [4030b7fc, 4030b83c]

    Align both the start and end of the buffer (possibly crossing multiple
    lines).

    Fixes: 1947c2d2a0 ("bootcount: flush after storing the bootcounter")
    Signed-off-by: Alex Kiernan
    Acked-by: Stefano Babic

    Alex Kiernan
     

23 Jul, 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
     

07 Apr, 2018

1 commit


26 Feb, 2018

1 commit

  • Migrate the users of CONFIG_SYS_BOOTCOUNT_ADDR to Kconfig. We can
    provide a default for BOOTCOUNT_AM33XX as that's a specific part of the
    RTC in use. We can also provide a default for ARCH_LS1043A and
    ARCH_LS1021A as they had been previously calculated and their symbols
    are in Kconfig. In the case of other QE-enabled platforms, they are not
    so we must update the relevant defconfig files. The previous default
    only applied in some cases, even on a specific SoC family.

    Reviewed-by: Lukasz Majewski
    Reviewed-by: Alex Kiernan
    Signed-off-by: Tom Rini

    Tom Rini
     

24 Feb, 2018

9 commits


15 Feb, 2018

2 commits


20 Nov, 2017

1 commit


13 Sep, 2017

1 commit


16 Aug, 2017

3 commits


04 Jul, 2017

1 commit

  • There was for long time no activity in the 4xx area.
    We need to go further and convert to Kconfig, but it
    turned out, nobody is interested anymore in 4xx,
    so remove it.

    Signed-off-by: Heiko Schocher

    Heiko Schocher
     

16 Jun, 2017

1 commit


12 Jun, 2017

2 commits


06 Apr, 2017

1 commit

  • The architecture is currently unmaintained, remove.

    Cc: Benjamin Matthews
    Cc: Chong Huang
    Cc: Dimitar Penev
    Cc: Haitao Zhang
    Cc: I-SYST Micromodule
    Cc: M.Hasewinkel (MHA)
    Cc: Marek Vasut
    Cc: Martin Strubel
    Cc: Peter Meerwald
    Cc: Sonic Zhang
    Cc: Valentin Yakovenkov
    Cc: Wojtek Skulski
    Cc: Wojtek Skulski
    Signed-off-by: Tom Rini

    Tom Rini
     

29 Nov, 2016

1 commit


12 Apr, 2016

1 commit


08 Jan, 2016

1 commit


23 Jul, 2014

1 commit


20 Feb, 2014

1 commit


12 Nov, 2013

1 commit