03 Dec, 2019

2 commits


12 Apr, 2019

2 commits

  • This patch enables the PCIe port specific link capabilities configuration
    for Armada XP. The weak function board_sat_r_get() was used to return
    a common flag for PCIe Gen1 vs Gen2 capability for all PCIe ports. This
    is now changed with this patch to return a bit per PCIe port (4 bits
    in this case, bit 0 for PCIe port 0, etc).

    The theadorable board uses this new feature to configure PCIe port 0
    as Gen1 and all other PCIe ports as Gen2 capable. All other AXP boards
    using this function are not changed in the configuration and still
    configure all ports as PCIe Gen2.

    This patch also removes the parameter "pex_mode" from
    board_serdes_cfg_get() as this parameter was not used in any of the
    implementations.

    Signed-off-by: Stefan Roese
    Cc: Phil Sutter

    Stefan Roese
     
  • The check for the missing PEX switch can lead to an infinite loop, when
    the PCIe device is not found. It is helpful to enable the user to break
    out of this boot-loop, to enable booting to the prompt for test cases.
    This patch adds a 3 second delay in the error case before rebooting.
    The user can press Ctrl-C in this time to abort the boot-loop.

    This patch also calls bootcount_inc() before rebooting in the error
    case. This is needed to increment the bootcounter, since this function
    is called earlier than the main bootcounter increment. Otherwise the
    bootcounter will not be incremented in the error case at all.

    Signed-off-by: Stefan Roese

    Stefan Roese
     

05 Feb, 2019

1 commit

  • This patch moves the Armada XP video / LCD driver to DM_VIDEO. With this
    move, the legacy interface board_video_init() is removed from the
    theadorable board code (only user of this video driver). The support
    via DT will be added in a separate patch.

    This patch also enables DM_VIDEO for the theadorable board, as this is
    needed to not break git bisect'ability.

    Signed-off-by: Stefan Roese
    Reviewed-by: Anatolij Gustschin
    Acked-by: Anatolij Gustschin

    Stefan Roese
     

06 Aug, 2018

1 commit

  • Move the gdsys Controlcenter DC specific build time kwbimage.cfg
    generation code into the mach-mvebu/ directory to be shared by all 32bit
    mvebu platforms.

    Remove board specific kwbimage.cfg files, and use the generated one
    instead. These files are all identical, with two exceptions. Clearfog
    and Helios4 use the sdio boot device, whereas all others use spi. Update
    the defconfigs for the exceptional boards to generate the same
    kwbimage.cfg as before.

    Signed-off-by: Baruch Siach
    Signed-off-by: Stefan Roese

    Baruch Siach
     

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
     

26 Sep, 2017

1 commit

  • Currently, we support 2 "theadorable" MVEBU build targets. One with a
    stripped down configuration (theadorable) and one with a full blown
    configuration (theadorable_debug), including PCI, ethernet etc. When
    we introduced these configs, the plan was to remove the debug version
    at some point. But now it seems better to keep the full-blown version
    and remove the "non-debug" version instead.

    At a later stage, I will rename the remaining "theadorable_debug"
    target into a more fitting one.

    Signed-off-by: Stefan Roese

    Stefan Roese
     

23 Mar, 2017

2 commits

  • This board specific command tests for the presence of a specified PCIe
    device (via vendor-ID and device-ID). If the device is not detected,
    this will get printed. If the device is detected, the board will get
    resetted so that an easy loop test can be done. The board will reboot
    until the PCIe device is not detected.

    Signed-off-by: Stefan Roese

    Stefan Roese
     
  • Define a board-specific detection pulse-width array for the SerDes PCIe
    interfaces. If not defined in the board code, the default of currently 2
    is used. Values from 0...3 are possible (2 bits).

    In this case of the theadorable board, PEX interface 0 needs a value
    of 0 for the detection pulse width so that the PCIe device (Atheros
    WLAN PCIe device) is consistantly detected.

    Signed-off-by: Stefan Roese
    Cc: Adam Shobash
    Cc: Nadav Haklai
    Cc: Konstantin Porotchkin
    Signed-off-by: Stefan Roese

    Stefan Roese
     

24 Sep, 2016

1 commit


12 Apr, 2016

3 commits


24 Mar, 2016

1 commit


27 Jan, 2016

1 commit

  • This patch adds support for the Armada XP (MV78260) based theadorable
    board. Its equipped with onboard DDR3, UART, ethernet, I2C, SPI NOR,
    LCD and SATA (SSD) interfaces / devices.

    Two defconfigs are added:

    theadorable_defconfig:
    The production U-Boot version with a stripped down drivers and feature
    list. This removes networking, USB and PCI support.

    theadorable_debug_defconfig:
    The debugging / testing U-Boot version with full support for all drivers.

    Signed-off-by: Stefan Roese
    Cc: Luka Perkov
    Signed-off-by: Stefan Roese

    Stefan Roese