18 Jan, 2020

1 commit


03 Dec, 2019

1 commit


12 Aug, 2019

1 commit


11 Jul, 2019

1 commit

  • As preparation for the upcoming transferring of configurations from header
    files to Kconfig, a common Kconfig file for all KM boards was created. For
    the moment, it only sources the other three, more specific, Kconfig files.
    Therefore, the architecture Kconfig files now include the common Kconfig
    file. Also, the configuration selection for KM boards was moved from the
    architecture Kconfig files to the board specific Kconfig files.

    Signed-off-by: Pascal Linder
    Signed-off-by: Holger Brunck
    Cc: Mario Six
    Cc: Prabhakar Kushwaha
    Signed-off-by: Stefan Roese

    Pascal Linder
     

18 May, 2019

1 commit

  • CONFIG_SYS_[DI]CACHE_OFF had been partially converted to Kconfig
    parameters; only for the ARC architecture. This patch turns these two
    parameters into Kconfig items everywhere else they are found.

    All of the include/configs/* and defconfig changes in this patch are
    for arm machines only. The Kconfig changes for arc, nds32, riscv,
    and xtensa have been included since these symbols are found in code
    under arch/{arc,nds32,riscv,xtensa}, however, no currently-defined
    include/configs/* or defconfigs for these architectures exist which
    include these symbols.

    These results have been confirmed with tools/moveconfig.py.

    Acked-by: Alexey Brodkin
    Signed-off-by: Trevor Woerner
    [trini: Re-migrate for a few more boards]
    Signed-off-by: Tom Rini

    Trevor Woerner
     

26 Apr, 2019

1 commit

  • This is Marvell's Kirkwood development board. It has the following
    features

    - 512M DDR2
    - 2 PCI connectors
    - 1 x1 PCI-e interface
    - 1 Gigabit Ethernet Port
    - 2 SATA Ports
    - USB 2.0 Interface
    - SDIO
    - 128M NAND Flash
    - 16M SPI Flash

    It can be strapped to boot from SPI or NAND so there are two defconfigs
    (one per boot media).

    Signed-off-by: Chris Packham
    Signed-off-by: Stefan Roese

    Chris Packham
     

12 Apr, 2019

5 commits


26 Mar, 2019

1 commit

  • This converts the following to Kconfig:
    CONFIG_ENV_SPI_BUS
    CONFIG_ENV_SPI_CS
    CONFIG_ENV_SPI_MAX_HZ
    CONFIG_ENV_SPI_MODE

    Most of time these value are not needed, CONFIG_SF_DEFAULT
    with same value is used, so I introduced CONFIG_USE_ENV_SPI_*
    to force the associated value for the environment.

    Signed-off-by: Patrick Delaunay

    Patrick Delaunay
     

19 Mar, 2019

1 commit

  • Prior to commit 93b283d49f93 ("ARM: CPU: arm926ejs: Consolidate cache
    routines to common file") the kirkwood boards didn't have and dcache
    support. The network and usb drivers rely on this. Set
    CONFIG_SYS_DCACHE_OFF in the Kirkwood specific config.h.

    Reported-by: Leigh Brown
    Signed-off-by: Chris Packham
    Reviewed-by: Stefan Roese
    Signed-off-by: Stefan Roese

    Chris Packham
     

18 Aug, 2018

1 commit


17 Aug, 2018

1 commit

  • We have the following cases:
    - CONFIG_NR_DRAM_BANKS was defined, migrate normally
    - CONFIG_NR_DRAM_BANKS_MAX was defined and then used for
    CONFIG_NR_DRAM_BANKS after a check, just migrate it over now.
    - CONFIG_NR_DRAM_BANKS was very oddly defined on p2771-0000-* (to 1024 +
    2), set this to 8.

    Signed-off-by: Tom Rini

    Tom Rini
     

07 Aug, 2018

1 commit

  • This is a series of line cards for Allied Telesis's SBx8100 chassis
    switch. The CPU block is common to the SBx81GP24 and SBx81GT24 cards
    cards collectively referred to as SBx81LIFXCAT in u-boot.

    Signed-off-by: Chris Packham
    Signed-off-by: Stefan Roese

    Chris Packham
     

05 Jun, 2018

3 commits

  • This is a series of line cards for Allied Telesis's SBx8100 chassis
    switch. The CPU block is common to the SBx81GS24a, SBx81XS6, SBx81XS16
    and SBx81GT40 cards collectively referred to as SBx81LIFKW in u-boot.

    Reviewed-by: Stefan Roese
    Signed-off-by: Chris Packham
    Signed-off-by: Stefan Roese

    Chris Packham
     
  • The mach/config.h file would helpfully define CONFIG_SYS_I2C and
    CONFIG_SYS_I2C_MVTWSI if CONFIG_CMD_I2C was defined by the board. This
    conflicts with the way DM_I2C works. As a transitional measure don't
    automatically define these if CONFIG_DM_I2C is defined. It should be
    possible to remove this once all kirkwood boards are migrated to DM.

    Signed-off-by: Chris Packham
    Reviewed-by: Stefan Roese
    Signed-off-by: Stefan Roese

    Chris Packham
     
  • This patch shows how to enable driver model support for the LS-CHLv2 and
    LS-XHL boards.

    There are a couple of open questions:
    - do I need the u-boot,dm-pre-reloc tags in the device tree?
    - should mach/config.h define CONFIG_DM_SEQ_ALIAS?
    - how can we split this patch or are there any other pending patches
    which does the same and I didn't catch these.

    This patch is based on the http://git.denx.de/u-boot-marvell.git (master
    branch) and needs the following patches, which are still pending:
    https://patchwork.ozlabs.org/patch/909618/
    https://patchwork.ozlabs.org/patch/909617/
    https://patchwork.ozlabs.org/patch/909973/

    Signed-off-by: Michael Walle
    Tested-by: Michael Walle
    Signed-off-by: Stefan Roese

    Michael Walle
     

15 May, 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
     

14 Feb, 2018

1 commit


13 Dec, 2017

1 commit


28 Nov, 2017

1 commit


16 Aug, 2017

1 commit

  • We are now using an env_ prefix for environment functions. Rename these
    two functions for consistency. Also add function comments in common.h.

    Quite a few places use getenv() in a condition context, provoking a
    warning from checkpatch. These are fixed up in this patch also.

    Suggested-by: Wolfgang Denk
    Signed-off-by: Simon Glass

    Simon Glass
     

23 May, 2017

1 commit

  • At present IDE support is controlled by CONFIG_CMD_IDE. Add a separate
    CONFIG_IDE option so that IDE support can be enabled without requiring
    the 'ide' command.

    Update existing users and move the ide driver into drivers/block since
    it should not be in common/.

    Signed-off-by: Simon Glass

    Simon Glass
     

16 May, 2017

1 commit

  • The following options are migrated over fully now:
    - USB_EHCI_ATMEL
    - USB_EHCI_MARVELL
    - USB_EHCI_MX6
    - USB_EHCI_MX7
    - USB_EHCI_MSM
    - USB_EHCI_ZYNQ
    - USB_EHCI_GENERIC

    This also requires fixing the depends on USB_EHCI_MARVELL as it's used
    by Orion5X and Kirkwood as well.

    Cc: Marek Vasut
    Signed-off-by: Tom Rini
    Reviewed-by: Marek Vasut

    Tom Rini
     

01 May, 2017

3 commits


17 Mar, 2017

1 commit

  • Commit 19a5944fcd62 ("mvgbe: remove setting of ethaddr within the
    driver") removed the usage of get_random_hex() from the mvgbe driver
    about six years ago. However the prototype of that function survived
    till today in some kirkwood header file.
    Remove that prototype and the CONFIG_MD5 dependency triggered by that.

    Signed-off-by: Andre Przywara
    Reviewed-by: Simon Glass
    Reviewed-by: Stefan Roese

    Andre Przywara
     

24 Jan, 2017

1 commit


09 Oct, 2016

1 commit


27 Aug, 2016

1 commit

  • This series moves the CONFIG_SYS_CACHELINE_SIZE. First, in nearly all
    cases we are mirroring the values used by the Linux Kernel here. Also,
    so long as (and in this case, it is true) we implement flushes in hunks
    that are no larger than the smallest implementation (and given that we
    mirror the Linux Kernel, again we are fine) it is OK to align higher.
    The biggest changes here are that we always use 64 bytes for CPU_V7 even
    if for example the underlying core is only 32 bytes (this mirrors
    Linux). Second, we say ARM64 uses 64 bytes not 128 (as found in the
    Linux Kernel) as we do not need multi-platform support (to this degree)
    and only the Cavium ThunderX 88xx series has a use for such large
    alignment.

    Cc: Albert Aribaud
    Cc: Marek Vasut
    Cc: Stefano Babic
    Cc: Prafulla Wadaskar
    Cc: Luka Perkov
    Cc: Stefan Roese
    Cc: Nagendra T S
    Cc: Vaibhav Hiremath
    Acked-by: Lokesh Vutla
    Cc: Steve Rae
    Cc: Igor Grinberg
    Cc: Nikita Kiryanov
    Cc: Stefan Agner
    Acked-by: Heiko Schocher
    Cc: Mateusz Kulikowski
    Cc: Peter Griffin
    Acked-by: Paul Kocialkowski
    Cc: Anatolij Gustschin
    Acked-by: "Pali Rohár"
    Cc: Adam Ford
    Cc: Steve Sakoman
    Cc: Grazvydas Ignotas
    Cc: Nishanth Menon
    Cc: Stephen Warren
    Cc: Robert Baldyga
    Cc: Minkyu Kang
    Cc: Thomas Weber
    Cc: Masahiro Yamada
    Cc: David Feng
    Cc: Alison Wang
    Cc: Michal Simek
    Cc: Simon Glass
    Cc: York Sun
    Cc: Shengzhou Liu
    Cc: Mingkai Hu
    Cc: Prabhakar Kushwaha
    Cc: Aneesh Bansal
    Cc: Saksham Jain
    Cc: Qianyu Gong
    Cc: Wang Dongsheng
    Cc: Alex Porosanu
    Cc: Hongbo Zhang
    Cc: tang yuantian
    Cc: Rajesh Bhagat
    Cc: Josh Wu
    Cc: Bo Shen
    Cc: Viresh Kumar
    Cc: Hannes Schmelzer
    Cc: Thomas Chou
    Cc: Joe Hershberger
    Cc: Sam Protsenko
    Cc: Bin Meng
    Cc: Christophe Ricard
    Cc: Anand Moon
    Cc: Beniamino Galvani
    Cc: Carlo Caione
    Cc: huang lin
    Cc: Sjoerd Simons
    Cc: Xu Ziyuan
    Cc: "jk.kernel@gmail.com"
    Cc: "Ariel D'Alessandro"
    Cc: Kever Yang
    Cc: Samuel Egli
    Cc: Chin Liang See
    Cc: Dinh Nguyen
    Cc: Hans de Goede
    Cc: Ian Campbell
    Cc: Siarhei Siamashka
    Cc: Boris Brezillon
    Cc: Andre Przywara
    Cc: Bernhard Nortmann
    Cc: Wolfgang Denk
    Cc: Ben Whitten
    Cc: Tom Warren
    Cc: Alexander Graf
    Cc: Sekhar Nori
    Cc: Vitaly Andrianov
    Cc: "Andrew F. Davis"
    Cc: Murali Karicheri
    Cc: Carlos Hernandez
    Cc: Ladislav Michl
    Cc: Ash Charles
    Cc: Mugunthan V N
    Cc: Daniel Allred
    Cc: Gong Qianyu
    Signed-off-by: Tom Rini
    Acked-by: Masahiro Yamada
    Acked-by: Chin Liang See
    Tested-by: Stephen Warren
    Acked-by: Paul Kocialkowski

    Tom Rini
     

26 Apr, 2016

1 commit


14 Jan, 2016

1 commit


30 Nov, 2015

1 commit

  • This patch add ZyXEL NSA310S 1-Bay Media Server

    The ZyXEL NSA310S device is a Kirkwood based NAS:

    - SoC: Marvell 88F6702 1000Mhz
    - SDRAM memory: 256MB DDR2 400Mhz
    - Gigabit ethernet: PHY Marvell 88E1318
    - Flash memory: 128MB
    - 1 Power button
    - 1 Power LED (blue)
    - 4 Status LED (green)
    - 1 Copy/Sync button
    - 1 Reset button
    - 1 SATA II port
    - 2 USB 2.0 ports (front and back)
    - Smart fan

    Signed-off-by: Gerald Kerma
    Signed-off-by: Tony Dinh
    Signed-off-by: Luka Perkov

    Gerald Kerma
     

10 Nov, 2015

2 commits


28 Sep, 2015

1 commit