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
     

28 Apr, 2018

1 commit


16 Aug, 2017

1 commit


15 Jan, 2016

1 commit


05 Aug, 2015

1 commit


05 Dec, 2014

1 commit


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
     

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
     

14 May, 2014

1 commit


04 Mar, 2014

1 commit


19 Dec, 2013

1 commit

  • Currently same value is programmed for all ioregs. This is not
    the case for all SoC's like AM4372. So adding a structure for ioregs
    and updating in all board files. And also return from config_cmd_ctrl()
    and config_ddr_data() functions if data is not passed.

    Signed-off-by: Lokesh Vutla
    [trini: Fixup dxr2, cm_t335, adapt pcm051 rev3]
    Signed-off-by: Tom Rini

    Lokesh Vutla
     

11 Dec, 2013

1 commit


04 Dec, 2013

1 commit

  • Based on the definitive guide to EMIF configuration[1] certain registers
    that we have been modifying (and are documented registers) should be
    left in their reset values rather than modified. This has been tested
    on AM335x GP EVM and Beaglebone White.

    [1]: http://processors.wiki.ti.com/index.php/AM335x_EMIF_Configuration_tips
    Cc: Enric Balletbo i Serra
    Cc: Javier Martinez Canillas
    Cc: Heiko Schocher
    Cc: Lars Poeschel
    Signed-off-by: Tom Rini
    Tested-by: Matt Porter

    Tom Rini
     

18 Nov, 2013

1 commit


12 Nov, 2013

1 commit

  • - dxr2: define unused pins as input
    - do not enable RTC32K OSC on dxr2 board
    - update default environment
    - add splashpos=m,m to default environment, so splash screen is always
    centered.
    - adapt environment for bootcount feature
    - add altbootcmd to default environment
    - rut: SPL add early reset pulse for eth-phy, maXTouch and display
    - rut: display timing aenderungen
    - siemens boards: adapt for background color = white
    - add boutcount feature for the siemens boards
    store the bootcount in the environment, as we have no softreset
    save registers on this hardware. Use therefore the CONFIG_BOOTCOUNT_ENV
    bootcount driver.
    - change spi mode from 3 to 0 for the lcd init
    - add gpio pin for lcd reset with state 0 and add mdelay
    - siemens boards: use own USB id's
    - add dfu serial and device number for siemens boards
    Add for the siemens boards the possibility to define in dfu mode,
    the iSerialNumber and the bcdDevice fields in the USB Device
    descriptor.
    - fix upgrade mechanism based on bootcount
    Correct location of saveenv and remove not active variable.

    Add CONFIG_BOOT_RETRY_TIME and CONFIG_RESET_TO_RETRY to
    reboot board in case of empty kernel partition. Without
    these defines an empty kernel partition leads to an
    abort of boot process and one remains in u-boot prompt.

    - general cleanup of dxr2, pxm2 and rut boards
    all:
    * Remove net boot from bootcmd
    Ping can cause a crash on boards without ethernet phy.
    net_nfs command is used only for development

    * Add reset at the end of bootcmd
    In order to have an immediate reset of the boot when bootcmd
    fails, add reset at the end of bootcmd.

    rut:
    * add nand_img_size

    dxr2:
    * update nand_img_size

    * ddr3 timings updated with iocontrol property that can be
    modified via eeprom. New default parameters from software
    leveling with draco ES2.

    Signed-off-by: Samuel Egli
    Signed-off-by: Pascal Bach
    Signed-off-by: Roger Meier
    Signed-off-by: Heiko Schocher
    Cc: Matthias Michel
    Cc: Tom Rini

    Samuel Egli
     

01 Nov, 2013

1 commit


15 Oct, 2013

1 commit


28 Aug, 2013

1 commit

  • add support for the am335x based boards from siemens:

    dxr2:
    - DDR3 128MiB
    - NAND 256MiB
    - Ethernet with external Switch SMSC LAN9303
    - no PMIC
    - internal Watchdog
    - DFU support

    pxm2:
    - DDR2 512 MiB
    - NAND 1024 MiB
    - PMIC
    - PHY atheros ar803x
    - USB Host
    - internal Watchdog
    - DFU support

    rut:
    - DDR3 256 MiB
    - NAND 256 MiB
    - PMIC
    - PHY natsemi dp83630
    - external Watchdog
    - DFU support

    Signed-off-by: Heiko Schocher
    Signed-off-by: Roger Meier
    Signed-off-by: Samuel Egli
    Cc: Pascal Bach
    Cc: Tom Rini

    Heiko Schocher