13 Aug, 2019

1 commit

  • This patch disables DM watchdog support for SPL builds and uses
    the legacy omap watchdog driver on TI AM335x chipsets.

    The following build error is reported if DM watchdog support was
    enabled in SPL:

    CC spl/drivers/usb/gadget/rndis.o
    LD spl/drivers/usb/gadget/built-in.o
    LD spl/drivers/usb/musb-new/built-in.o
    LD spl/drivers/built-in.o
    LD spl/u-boot-spl
    arm-linux-ld.bfd: u-boot-spl section .u_boot_list will not fit in region .sram
    arm-linux-ld.bfd: region .sram overflowed by 440 bytes
    make[1]: *** [spl/u-boot-spl] Error 1
    make: *** [spl/u-boot-spl] Error 2

    Adjusted WATCHDOG_RESET macro accordingly. Earlier it was pointing
    to hw_watchdog_reset. Since CONFIG_WATCHDOG replaces CONFIG_HW_WATCHDOG,
    now WATCHDOG_RESET macro points to watchdog_reset. This watchdog_reset
    is not defined anywhere for am33xx/omap2 and needs to be defined. Fixed
    this by simply calling hw_watchdog_reset in watchdog_reset.

    Built and tested on AM335x device (BeagleboneBlack), compile tested for
    all other AM33xx/omap2 based boards.

    Signed-off-by: Suniel Mahesh
    [trini: Fix watchdog.h logic]
    Signed-off-by: Tom Rini

    Suniel Mahesh
     

09 Apr, 2019

1 commit

  • This patch adds some checks, so that the watchdog can be enabled in main
    U-Boot proper but can be disabled in SPL.

    This will be used by some AT91SAM based boards, which might enable the
    watchdog in the main U-Boot proper and not in SPL. It will be enabled in
    SPL by default there, so no need to configure it there. This approach
    saves some space in SPL.

    Signed-off-by: Stefan Roese
    Cc: Heiko Schocher
    Cc: Andreas Bießmann
    Cc: Eugen Hristev
    Reviewed-by: Heiko Schocher
    Tested on the taurus board:
    Tested-by: Heiko Schocher

    Stefan Roese
     

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

2 commits


09 Jul, 2017

2 commits

  • Signed-off-by: Christophe Leroy
    Reviewed-by: Heiko Schocher

    Christophe Leroy
     
  • CS Systemes d'Information (CSSI) manufactures 8xx boards for
    critical communication systems. Those boards have been
    running U-Boot since 2010 and will have to be maintained
    until at least 2027.

    commit 5b8e76c35ec312a3f73126bd1a2d2c0965b98a9f
    ("powerpc, 8xx: remove support for 8xx") orphaned those boards
    by removing support for the mpc8xx CPU.

    This commit partially restores support for the 8xx, with the
    following limitations:
    - Restores support for MPC866 and MPC885 only
    - Does not restore IDE, PCMCIA, I2C, USB
    - Does not restore examples
    - Does not restore POST
    - Does not restore Ethernet on SCC
    - Does not restore console on SCC
    - Does not restore bedbug and kgdb support

    As the 866 and 885 do not support the following features,
    they are not restored either:
    - VIDEO / LCD
    - RTC clock

    The CPM uCODE patch is not restored either, because:
    - 866 and 885 already have support for I2C and SPI relocation
    without a uCODE patch
    - relocation of SMC, I2C or SPI is only needed for using SCCs
    for Ethernet or QMC

    The dynamic setup/calculation of clocks is removed, we
    expect the target being use with the clock and PLPRCR register
    defined in the configuration.
    All the clock settings for 8xx prior to 866 is removed as
    well as we now only support 866 and 885.

    This code is mature and addresses mature boards. Therefore
    all code enclosed in '#if 0/#endif' and '#if XX_DEBUG/#endif'
    is unneeded.

    The following files are not restored by this patch:

    - arch/powerpc/cpu/mpc8xx/bedbug_860.c
    - arch/powerpc/cpu/mpc8xx/fec.h
    - arch/powerpc/cpu/mpc8xx/kgdb.S
    - arch/powerpc/cpu/mpc8xx/plprcr_write.S
    - arch/powerpc/cpu/mpc8xx/scc.c
    - arch/powerpc/cpu/mpc8xx/upatch.c
    - arch/powerpc/cpu/mpc8xx/video.c
    - arch/powerpc/include/asm/status_led.h
    - arch/powerpc/lib/ide.c
    - arch/powerpc/lib/ide.h
    - doc/README.MPC866
    - drivers/pcmcia/mpc8xx_pcmcia.c
    - drivers/rtc/mpc8xx.c
    - drivers/usb/gadget/mpc8xx_udc.c
    - drivers/video/mpc8xx_lcd.c
    - examples/standalone/test_burst.c
    - examples/standalone/test_burst.h
    - examples/standalone/test_burst_lib.S
    - examples/standalone/timer.c
    - include/mpc823_lcd.h
    - include/usb/mpc8xx_udc.h
    - post/cpu/mpc8xx/Makefile
    - post/cpu/mpc8xx/cache.c
    - post/cpu/mpc8xx/cache_8xx.S
    - post/cpu/mpc8xx/ether.c
    - post/cpu/mpc8xx/spr.c
    - post/cpu/mpc8xx/uart.c
    - post/cpu/mpc8xx/usb.c
    - post/cpu/mpc8xx/watchdog.c

    Some of the restored files are not located in a proper location.
    In order to keep traceability of the changes, they will be
    moved to their correct location and moved to Kconfig in a
    followup patch.

    This patch also declares CSSI as point of contact for the update
    of the 8xx platform, as those boards are the only ones still
    being maintained on the 8xx area. A later patch will add
    those boards to the tree.

    Signed-off-by: Christophe Leroy

    Christophe Leroy
     

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


28 May, 2016

1 commit


07 Aug, 2014

1 commit


02 Aug, 2014

1 commit


15 Oct, 2013

1 commit


24 Jul, 2013

1 commit


13 May, 2013

1 commit


16 Mar, 2013

1 commit


15 Jan, 2013

1 commit


13 Jan, 2013

1 commit


28 May, 2010

1 commit


26 Jan, 2010

1 commit


23 Sep, 2005

1 commit


24 Feb, 2004

1 commit

  • Add support for the Xilinx ML300 platform

    * Patch by Stephan Linz, 17 Feb 2004:
    Fix watchdog support for NIOS

    * Patch by Josh Fryman, 16 Feb 2004:
    Fix byte-swapping for cfi_flash.c for different bus widths

    * Patch by Jon Diekema, 14 Jeb 2004:
    Remove duplicate "FPGA Support" notes from the README file

    wdenk
     

29 Aug, 2003

1 commit


28 Jun, 2003

1 commit

  • - remove trailing white space, trailing empty lines, C++ comments, etc.
    - split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c)

    * Patches by Kenneth Johansson, 25 Jun 2003:
    - major rework of command structure
    (work done mostly by Michal Cendrowski and Joakim Kristiansen)

    wdenk
     

01 Apr, 2003

1 commit


09 Mar, 2002

1 commit