11 Sep, 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
     

15 May, 2017

1 commit


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

23 Oct, 2014

1 commit

  • Fix the following checkpatch issues:

    CHECK: No space is necessary after a cast
    \#39: FILE: arch/arm/include/asm/arch-am33xx/mux.h:39:
    +#define PAD_CTRL_BASE 0x800
    +#define OFFSET(x) (unsigned int) (&((struct pad_signals *) \

    CHECK: Avoid CamelCase:
    \#284: FILE: arch/arm/include/asm/arch-omap3/mux.h:284:
    +#define CONTROL_PADCONF_JTAG_nTRST 0x0A1C

    ERROR: space required after that ',' (ctx:VxV)
    \#446: FILE: arch/arm/include/asm/arch-omap3/mux.h:446:
    +#define MUX_VAL(OFFSET,VALUE)\
    ^
    Cc: Raphael Assenat
    Cc: Ilya Yanok
    Cc: Vaibhav Hiremath
    Cc: Peter Barada
    Cc: Grazvydas Ignotas
    Cc: Stefan Roese
    Cc: Stefano Babic
    Cc: Nagendra T S
    Cc: Nishanth Menon
    Cc: Tom Rini
    Signed-off-by: Igor Grinberg
    Acked-by: Stefan Roese

    Igor Grinberg
     

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


10 May, 2013

1 commit

  • u-boot standard i2c register write prototype is
    i2c_reg_write(u8 addr, u8 reg, u8 val)

    twl4030_i2c_write_u8(u8 addr, u8 val, u8 reg)
    does not provide consistency, so switch the prototype to be
    consistent with rest of u-boot i2c operations:
    twl4030_i2c_write_u8(u8 addr, u8 reg, u8 val)

    Signed-off-by: Nishanth Menon

    Nishanth Menon
     

09 Mar, 2013

2 commits


15 May, 2012

3 commits

  • Update pandora's GPIO setup code with these changes:
    - convert to gpiolib
    - set up dual voltage GPIOs to match supply of 1.8V by clearing VMODE1
    - add GPIO_IO_PWRDNZ configuration for DM3730 variation of pandora
    (required to enable GPIO 126, 127, and 129 I/O cells in DM3730)
    - add wifi reset pulse as recommended by wifi chip's manufacturer
    - drop configuration of GPIOs that u-boot doesn't need

    Signed-off-by: Grazvydas Ignotas

    Grazvydas Ignotas
     
  • DM3730 needs some additional pin mux configuration for GPIOs
    126-129 to work, add it.

    Signed-off-by: Grazvydas Ignotas

    Grazvydas Ignotas
     
  • 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
     

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
     

04 Sep, 2011

2 commits


21 Dec, 2010

1 commit

  • It can be optimised out by the compiler otherwise resulting
    in obscure errors like a board not booting.

    This has been documented in README since 2006 when these were
    first fixed up for GCC 4.x.

    Signed-off-by: John Rigby

    Fix some additional places.

    Signed-off-by: Wolfgang Denk
    Acked-By: Albert ARIBAUD

    John Rigby
     

20 Nov, 2010

1 commit


18 Nov, 2010

1 commit

  • Before this commit, weak symbols were not overridden by non-weak symbols
    found in archive libraries when linking with recent versions of
    binutils. As stated in the System V ABI, "the link editor does not
    extract archive members to resolve undefined weak symbols".

    This commit changes all Makefiles to use partial linking (ld -r) instead
    of creating library archives, which forces all symbols to participate in
    linking, allowing non-weak symbols to override weak symbols as intended.
    This approach is also used by Linux, from which the gmake function
    cmd_link_o_target (defined in config.mk and used in all Makefiles) is
    inspired.

    The name of each former library archive is preserved except for
    extensions which change from ".a" to ".o". This commit updates
    references accordingly where needed, in particular in some linker
    scripts.

    This commit reveals board configurations that exclude some features but
    include source files that depend these disabled features in the build,
    resulting in undefined symbols. Known such cases include:
    - disabling CMD_NET but not CMD_NFS;
    - enabling CONFIG_OF_LIBFDT but not CONFIG_QE.

    Signed-off-by: Sebastien Carlier

    Sebastien Carlier
     

19 Oct, 2010

1 commit

  • The change is currently needed to be able to remove the board
    configuration scripting from the top level Makefile and replace it by
    a simple, table driven script.

    Moving this configuration setting into the "CONFIG_*" name space is
    also desirable because it is needed if we ever should move forward to
    a Kconfig driven configuration system.

    Signed-off-by: Wolfgang Denk

    Wolfgang Denk
     

09 Jun, 2010

1 commit


04 Jan, 2010

2 commits


24 Nov, 2009

1 commit

  • When the board is booted without serial cable attached (which
    is how most of them will be used) UART RX is left floating and
    sometimes picks noise, which interrupts countdown and enters
    U-Boot prompt instead of booting the kernel.

    Fix this by setting up internal pullup on UART RX pin. This
    does not prevent serial from working as the internal pullup
    is weak.

    Signed-off-by: Grazvydas Ignotas

    Grazvydas Ignotas
     

13 Oct, 2009

1 commit

  • Switch from space-based indentation to tab-based in mux configs, as pointed
    out by WD at:

    http://lists.denx.de/pipermail/u-boot/2009-September/061241.html

    Nothing but whitespace changes in this patch (diff -w gives no output).

    Signed-off-by: Olof Johansson

    Olof Johansson
     

05 Sep, 2009

1 commit