20 Oct, 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
     

09 Apr, 2018

1 commit

  • In order that we can use eth_env_* even when CONFIG_NET isn't set, move
    these functions to environment code from net code.

    This fixes failures such as:

    board/ti/am335x/built-in.o: In function `board_late_init':
    board/ti/am335x/board.c:752: undefined reference to `eth_env_set_enetaddr'
    u-boot/board/ti/am335x/board.c:766: undefined reference to `eth_env_set_enetaddr'

    which caters for use cases such as:

    commit f411b5cca48f ("board: am335x: Always set eth/eth1addr environment
    variable")

    when Ethernet is required in Linux, but not U-Boot.

    Signed-off-by: Alex Kiernan

    Alex Kiernan
     

16 Aug, 2017

2 commits


15 May, 2017

1 commit


20 Mar, 2017

1 commit

  • To keep a consistent MMC device mapping in SPL and in u-boot, let's
    register the MMC controllers the same way in u-boot and in the SPL.
    In terms of boot time, it doesn't hurt to register more controllers than
    needed because the MMC device is initialized only prior being accessed for
    the first time.
    Having the same device mapping in SPL and u-boot allows us to use the
    environment in SPL whatever the MMC boot device.

    Signed-off-by: Jean-Jacques Hiblot

    Jean-Jacques Hiblot
     

20 Jan, 2017

1 commit

  • commit: 65f83802b7a5b "serial: 16550: Add getfcr accessor"
    breaks u-boot commandline working with long commands
    sending to the board.

    Since the above patch, you have to setup the fcr register.

    For board/archs which enable OF_PLATDATA, the new field
    fcr in struct ns16550_platdata is not filled with a
    default value ...

    This leads in not setting up the uarts fifo, which ends
    in problems, when you send long commands to u-boots
    commandline.

    Detected this issue with automated tbot tests on am335x
    based shc board.

    The error does not popup, if you type commands. You need
    to copy&paste a long command to u-boots commandshell
    (or send a long command with tbot)

    Possible boards/plattforms with problems:
    ./arch/arm/cpu/arm926ejs/lpc32xx/devices.c
    ./arch/arm/mach-tegra/board.c
    ./board/overo/overo.c
    ./board/quipos/cairo/cairo.c
    ./board/logicpd/omap3som/omap3logic.c
    ./board/logicpd/zoom1/zoom1.c
    ./board/timll/devkit8000/devkit8000.c
    ./board/lg/sniper/sniper.c
    ./board/ti/beagle/beagle.c
    ./drivers/serial/serial_rockchip.c

    Signed-off-by: Heiko Schocher
    Signed-off-by: Ladislav Michl
    Tested-by: Adam Ford
    Reviewed-by: Tom Rini

    Heiko Schocher
     

07 Oct, 2016

1 commit


15 Mar, 2016

1 commit

  • A few boards still use ns16550_platdata structures, but assume the structure
    is going to be in a specific order. By explicitly naming each entry,
    this should also help 'future-proof' in the event the structure changes.

    Tested on the Logic PD Torpedo + Wireless.

    I only changed a handful of devices that used the same syntax as the Logic
    board. Appologies if I missed one or stepped on toes. Thanks to Derald Woods
    and Alexander Graf.

    Signed-off-by: Adam Ford

    V6: Add fix to arch/arm/cpu/armv7/am33xx/board.c

    V5: Add fix to arch/arm/cpu/arm926ejs/lpc32xx/devices.c

    V4: Fix subject heading

    V3: Remove reg_offset out in all the structs. It was reverted out, and and if
    it did exist, it would get initialized to 0 by default.

    V2: I hastily copy-pasted the boards without looking at the UART number.
    This addresses 3 boards that use UART3 and not UART1.
    Reviewed-by: Mugunthan V N
    Reviewed-by: Simon Glass

    Adam Ford
     

22 Nov, 2015

1 commit


23 Oct, 2015

1 commit


12 Oct, 2015

1 commit

  • According to ARM PrimeCell PL175 documentation WAIT_OEN config value
    is defined without any additional clocks added to the value set by a
    client, the change fixes the wrong interface to WAIT_OEN config.

    The change also touches a single user of LPC32xx EMC and corrects
    configured "output enable delay" value on its side according to the
    changed interface.

    No functional change intended.

    Signed-off-by: Vladimir Zapolskiy

    Vladimir Zapolskiy
     

13 Aug, 2015

2 commits

  • The change adds SPL build support to Timll DevKit3250 board, the
    generated SPL image can be uploaded over UART5, JTAG or stored on
    NAND. SPL is designed to load U-boot image from NAND.

    All new NAND chip defines in board configuration are needed by
    SPL NAND "simple" framework, the framework is used to reduce
    potentially duplicated code from LPC32xx SLC NAND driver.

    Signed-off-by: Vladimir Zapolskiy

    Vladimir Zapolskiy
     
  • This change adds more peripherals to Timll DevKit3250 board, namely
    MAC and SMSC phy, SLC NAND, GPIO, SPI and I2C.

    Also the default serial console is changed to UART5, added an option
    to pass device tree blob by means of bootm, predefined environment
    variables are slightly extended and reserved space on NAND to store
    user defined U-boot environment.

    Signed-off-by: Vladimir Zapolskiy

    Vladimir Zapolskiy
     

14 Jan, 2015

1 commit


05 Dec, 2014

1 commit

  • Boards using the TWL4030 regulator may not all use the LDOs the same way
    (e.g. MMC2 power can be controlled by another LDO than VMMC2).
    This delegates TWL4030 MMC power initializations to board-specific functions,
    that may still call twl4030_power_mmc_init for the default behavior.

    Signed-off-by: Paul Kocialkowski
    Reviewed-by: Tom Rini
    [trini: Fix omap3_evm warning, add twl4030.h]
    Signed-off-by: Tom Rini

    Paul Kocialkowski
     

29 Oct, 2014

1 commit

  • This commit introduces a Kconfig symbol for each ARM CPU:
    CPU_ARM720T, CPU_ARM920T, CPU_ARM926EJS, CPU_ARM946ES, CPU_ARM1136,
    CPU_ARM1176, CPU_V7, CPU_PXA, CPU_SA1100.
    Also, it adds the CPU feature Kconfig symbol HAS_VBAR which is selected
    for CPU_ARM1176 and CPU_V7.

    For each target, the corresponding CPU is selected and the definition of
    SYS_CPU in the corresponding Kconfig file is removed.

    Also, it removes redundant "string" type in some Kconfig files.

    Signed-off-by: Georges Savoundararadj
    Acked-by: Albert ARIBAUD
    Cc: Masahiro Yamada

    Georges Savoundararadj
     

14 Sep, 2014

1 commit

  • Now the types of CONFIG_SYS_{ARCH, CPU, SOC, VENDOR, BOARD, CONFIG_NAME}
    are specified in arch/Kconfig.

    We can delete the ones in arch and board Kconfig files.

    This commit can be easily reproduced by the following command:

    find . -name Kconfig -a ! -path ./arch/Kconfig | xargs sed -i -e '
    /config[[:space:]]SYS_\(ARCH\|CPU\|SOC\|\VENDOR\|BOARD\|CONFIG_NAME\)/ {
    N
    s/\n[[:space:]]*string//
    }
    '

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

31 Aug, 2014

1 commit


30 Jul, 2014

2 commits

  • We have switched to Kconfig and the boards.cfg file is going to
    be removed. We have to retrieve the board status and maintainers
    information from it.

    The MAINTAINERS format as in Linux Kernel would be nice
    because we can crib the scripts/get_maintainer.pl script.

    After some discussion, we chose to put a MAINTAINERS file under each
    board directory, not the top-level one because we want to collect
    relevant information for a board into a single place.

    TODO:
    Modify get_maintainer.pl to scan multiple MAINTAINERS files.

    Signed-off-by: Masahiro Yamada
    Suggested-by: Tom Rini
    Acked-by: Simon Glass

    Masahiro Yamada
     
  • This commit adds:
    - arch/${ARCH}/Kconfig
    provide a menu to select target boards
    - board/${VENDOR}/${BOARD}/Kconfig or board/${BOARD}/Kconfig
    set CONFIG macros to the appropriate values for each board
    - configs/${TARGET_BOARD}_defconfig
    default setting of each board

    (This commit was automatically generated by a conversion script
    based on boards.cfg)

    In Linux Kernel, defconfig files are located under
    arch/${ARCH}/configs/ directory.
    It works in Linux Kernel since ARCH is always given from the
    command line for cross compile.

    But in U-Boot, ARCH is not given from the command line.
    Which means we cannot know ARCH until the board configuration is done.
    That is why all the "*_defconfig" files should be gathered into a
    single directory ./configs/.

    Signed-off-by: Masahiro Yamada
    Acked-by: Simon Glass

    Masahiro Yamada
     

01 Nov, 2013

1 commit


24 Jul, 2013

1 commit


12 Mar, 2013

1 commit

  • In master we had already taken a patch to fix the davinci GPIO code for
    CONFIG_SOC_DM646X and in u-boot-ti we have additional patches to support
    DA830 (which is CONFIG_SOC_DA8XX && !CONFIG_SOC_DA850). Resolve these
    conflicts manually and comment the #else/#endif lines for clarity.

    Conflicts:
    arch/arm/include/asm/arch-davinci/gpio.h
    drivers/gpio/da8xx_gpio.c

    Signed-off-by: Tom Rini

    Tom Rini
     

09 Mar, 2013

2 commits


02 Mar, 2013

1 commit


10 Dec, 2012

1 commit


29 Jul, 2012

1 commit


15 May, 2012

2 commits

  • Add parameters to the OMAP MMC initialization function so the board can
    mask host capabilities and set the maximum clock frequency. While the
    OMAP supports a certain set of MMC host capabilities, individual boards
    may be more restricted and the OMAP may need to be configured to match
    the board. The PRG_SDMMC1_SPEEDCTRL bit in the OMAP3 is an example.

    Signed-off-by: Jonathan Solnit

    Jonathan Solnit
     
  • This change adds a basic support for Embest/Timll DevKit3250 board,
    NOR and UART are the only supported peripherals for a moment. The board
    doesn't require low-level init, because the initial SDRAM and GPIO
    configuration is performed during kickstart bootloader execution.

    Signed-off-by: Vladimir Zapolskiy
    Cc: Albert ARIBAUD
    Acked-by: Marek Vasut

    Vladimir Zapolskiy
     

28 Mar, 2012

2 commits


24 Dec, 2011

1 commit


07 Dec, 2011

1 commit


28 Oct, 2011

1 commit


16 Oct, 2011

1 commit

  • The top level Makefile does not do any recursion into subdirs when
    cleaning, so these clean/distclean targets in random arch/board dirs
    never get used. Punt them all.

    MAKEALL didn't report any errors related to this that I could see.

    Signed-off-by: Mike Frysinger

    Mike Frysinger
     

01 Oct, 2011

1 commit


04 Sep, 2011

1 commit