25 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
     

24 Jul, 2013

1 commit


17 Nov, 2011

1 commit

  • Fix:
    s3c24x0_rtc.c: In function 'rtc_get':
    s3c24x0_rtc.c:67:53: warning: variable 'a_armed' set but not used
    s3c24x0_rtc.c:67:45: warning: variable 'a_year' set but not used
    s3c24x0_rtc.c:67:38: warning: variable 'a_mon' set but not used
    s3c24x0_rtc.c:67:30: warning: variable 'a_date' set but not used
    s3c24x0_rtc.c:67:22: warning: variable 'a_hour' set but not used
    s3c24x0_rtc.c:67:15: warning: variable 'a_min' set but not used
    s3c24x0_rtc.c:67:8: warning: variable 'a_sec' set but not used
    [-Wunused-but-set-variable]

    Signed-off-by: Anatolij Gustschin

    Anatolij Gustschin
     

05 Aug, 2011

1 commit


28 Oct, 2010

1 commit

  • This patch adds generic support for the Samsung s3c2440 processor.

    Global s3c24x0 changes to struct members converting from upper case to
    lower case.

    Signed-off-by: Craig Nauman
    Cc: kevin.morfitt@fearnside-systems.co.uk
    Signed-off-by: Minkyu Kang

    C Nauman
     

28 Nov, 2009

2 commits

  • This patch adds a unified s3c24x0 cpu header file that selects the header
    file for the specific s3c24x0 cpu from the SOC and CPU configs defined in
    board config file. This removes the current chain of s3c24-type #ifdef's
    from the s3c24x0 code.

    Signed-off-by: Kevin Morfitt
    Signed-off-by: Minkyu Kang

    kevin.morfitt@fearnside-systems.co.uk
     
  • This patch moves the s3c24x0 header files from include/ to
    include/asm-arm/arch-s3c24x0/.

    checkpatch.pl showed 2 errors and 3 warnings. The 2 errors were both due
    to a non-UTF8 character in David M?ller's name:

    ERROR: Invalid UTF-8, patch and commit message should be encoded in UTF-8
    #489: FILE: include/asm-arm/arch-s3c24x0/s3c2410.h:3:
    + * David M?ller ELSOFT AG Switzerland. d.mueller@elsoft.ch

    As David's name correctly contains a non-UTF8 character I haven't fixed
    these errors.

    The 3 warnings were all because of the use of 'volatile' in s3c24x0.h:

    WARNING: Use of volatile is usually wrong: see Documentation/volatile-considered-harmful.txt
    #673: FILE: include/asm-arm/arch-s3c24x0/s3c24x0.h:35:
    +typedef volatile u8 S3C24X0_REG8;
    +typedef volatile u16 S3C24X0_REG16;
    +typedef volatile u32 S3C24X0_REG32;

    I'll fix these errors in another patch.

    Tested by running MAKEALL for ARM8 targets and ensuring there were no new
    errors or warnings.

    Signed-off-by: Kevin Morfitt
    Signed-off-by: Minkyu Kang

    kevin.morfitt@fearnside-systems.co.uk
     

14 Oct, 2009

1 commit

  • This patch re-formats the arm920t s3c24x0 driver files, excluding the nand
    driver, in preparation for changes to add support for the Embest SBC2440-II Board.

    The changes are as follows:
    - re-indent the code using Lindent
    - make sure register layouts are defined using a C struct
    - replace the upper-case typedef'ed C struct names with lower case
    non-typedef'ed ones
    - make sure registers are accessed using the proper accessor functions
    - run checkpatch.pl and fix any error reports

    It assumes the following patch has been applied first:
    - [U-Boot][PATCH-ARM] CONFIG_SYS_HZ fix for ARM902T S3C24X0 Boards, 05/09/2009
    - patches 1/4 and 2/4 of this series

    Tested on an Embest SBC2440-II Board with local u-boot patches as I don't have
    any s3c2400 or s3c2410 boards but need this patch applying before I can submit
    patches for the SBC2440-II Board. Also, temporarily modified sbc2410x, smdk2400,
    smdk2410 and trab configs to use the mtd nand driver (which isn't used by any
    board at the moment), ran MAKEALL for all ARM9 targets and no new warnings or
    errors were found.

    Signed-off-by: Kevin Morfitt
    Signed-off-by: Minkyu Kang

    kevin.morfitt@fearnside-systems.co.uk
     

25 Aug, 2009

1 commit


07 Sep, 2008

1 commit


19 Aug, 2008

1 commit


21 Mar, 2008

1 commit

  • Modify the RTC API to provide one a status for the time reported by
    the rtc_get() function:
    0 - a reliable time is guaranteed,
    < 0 - a reliable time isn't guaranteed (power fault, clock issues,
    and so on).

    The RTC chip drivers are responsible for providing this info if the
    corresponding chip supports such functionality. If not - always
    report that the time is reliable.

    The POST RTC test was modified to detect the RTC faults utilizing
    this new rtc_get() feature.

    Signed-off-by: Yuri Tikhonov

    Yuri Tikhonov
     

26 Nov, 2007

1 commit