14 Jan, 2016

3 commits

  • Merging all the board specific Kconfig options into the main Kconfig file
    for mach-mvebu makes things easier to maintain.

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

    Stefan Roese
     
  • Update this driver to support driver model. As all MVEBU boards using
    this driver are converted with this patch, the non-driver-model code
    can be removed completely. This is also the reason why this patch
    is quite big and includes a) the driver change and b) the
    platform change. As its not git-bisect save otherwise.

    With this conversion, some parameters are now extracted from the
    DT instread of using the config header defines. The supported
    properties right now are:

    PHY-mode ("phy-mode") and PHY-address ("reg").

    The base addresses for the ethernet controllers can be removed from
    the header files as well.

    Please note that this patch also removes the E1000 network driver
    from some MVEBU config headers. This is necessary, as with DM_ETH
    configured and the e1000 driver enabled, the PCI driver also needs
    to support DM. But the MVEBU PCI(e) driver still needs to get
    ported to DM. When this is done, the E1000 driver can be enabled
    again.

    Signed-off-by: Stefan Roese
    Cc: Luka Perkov
    Cc: Dirk Eibach
    Cc: Joe Hershberger
    Cc: Simon Glass

    Stefan Roese
     
  • This patch adds full DM support to the SPL on MVEBU. Currently
    only serial is supported. Other drivers will follow.

    This patch also adds the necessary config values for the DEBUG UART
    to the MVEBU defconfig files. This came in handy while implementing
    this DM support.

    Additionally, the mvebu specific SPL linker script is removed and
    this common one is used instead:

    arch/arm/cpu/u-boot-spl.lds

    This common linker script already handles all special cases. No need
    to reinvent the wheel for MVEBU here.

    Signed-off-by: Stefan Roese
    Cc: Luka Perkov
    Cc: Dirk Eibach
    Cc: Simon Glass

    Stefan Roese
     

18 Nov, 2015

2 commits

  • Instead of allocating space in the driver for the serdes
    specification table, just allow the board file to set a pointer
    to it. Also, allow the board to only specify the lanes that are
    used instead of including unused lanes.

    Signed-off-by: Kevin Smith
    Acked-by: Stefan Roese
    Cc: Dirk Eibach
    Cc: Luka Perkov

    Kevin Smith
     
  • A lot of extra configuration information was left over in the
    Marvell serdes and DDR3 initialization code for boards that
    U-boot does not support. Remove this extra config information,
    and the concept of fixing up board topologies with information
    loaded from an EEPROM. If this needs to be done, it should be
    handled in the board file, not in core code.

    Signed-off-by: Kevin Smith
    Acked-by: Stefan Roese
    Cc: Dirk Eibach
    Cc: Luka Perkov

    Kevin Smith
     

10 Nov, 2015

1 commit

  • Revert commit 7a2c1b13 which dropped OpenRD boards.
    Assume maintainership of OpenRD.
    Remove OpenRD from scrapyard.
    Switch OpenRD to generic board.
    Switch to Thumb build.

    Signed-off-by: Albert ARIBAUD

    Albert ARIBAUD
     

20 Oct, 2015

1 commit


12 Sep, 2015

3 commits


18 Aug, 2015

3 commits

  • This patch enabled the MVEBU PCIe support on the db-88f6820-gp A38x
    eval board. It also enabled the Intel E1000 driver support and
    adds the initialization of PCIe network controllers to the
    board code.

    Signed-off-by: Stefan Roese
    Cc: Anton Schubert
    Cc: Luka Perkov
    Cc: Dirk Eibach

    Stefan Roese
     
  • This patch enabled the MVEBU PCIe support on the db-mv784mp-gp AXP
    eval board. It also enabled the Intel E1000 driver support and
    adds the initialization of PCIe network controllers to the
    board code.

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

    Stefan Roese
     
  • This patch enables the NAND controller on the Armada XP/38x and provides
    a new function that returns the NAND controller input clock. This
    function will be used by the MVEBU NAND driver.

    As part of this patch, the multiple BIT macro definitions are moved
    to a common place in soc.h.

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

    Stefan Roese
     

23 Jul, 2015

1 commit

  • This patch adds SPL support for the Marvell DB-88F6820-GP board.
    With this change, the bin_hdr from the original Marvell U-boot
    is not needed any more on this board. The sources from bin_hdr
    (SERDES/PHY and DDR setup) are now integrated in mainline
    U-Boot. And this patch enables them for this board.

    Signed-off-by: Stefan Roese

    Stefan Roese
     

10 Jul, 2015

1 commit


05 May, 2015

3 commits

  • This patch adds support for the Marvell DB-88F6820-GP Armada A38x
    evaluation board.

    Supported peripherals are:
    - UART
    - Ethernet (mvneta)
    - I2C
    - SPI (including SPI NOR flash)

    Please note that this board support right now only supports the
    main U-Boot. Without the bin_hdr integration (DDR training etc). This
    will be added in a few days / weeks to complete this board port. But
    till then this U-Boot version can be run on the target via the
    original Marvell U-Boot via this command:

    tftpboot 4000000 db-88f6820-gp/u-boot.bin;go 4000000

    Signed-off-by: Stefan Roese
    Tested-by: Kevin Smith
    Tested-by: Dirk Eibach

    Stefan Roese
     
  • With the introduction of the Armada 38x support, its necessary to change
    the mvneta ethernet driver init call from always 4 times to a
    configurable value. Lets make this init call more flexible by moving
    the actually used devices to the config header.

    Additionally this patch takes care of the slightly different base
    addresses for the ethernet controllers on A38x.

    Signed-off-by: Stefan Roese
    Tested-by: Kevin Smith
    Tested-by: Dirk Eibach
    Acked-by: Joe Hershberger

    Stefan Roese
     
  • Move arch/arm/include/asm/arch-armada-xp/*
    -> arch/arm/mach-mvebu/include/mach/*

    Additionally the SYS_SOC is renamed from "armada-xp" to "mvebu". With this
    change all these files can better be shared with other, newer Mavell
    MVEBU SoC's. Like the upcoming Armada 38x support.

    Signed-off-by: Stefan Roese
    Cc: Masahiro Yamada
    Tested-by: Kevin Smith
    Tested-by: Dirk Eibach

    Stefan Roese
     

25 Feb, 2015

1 commit


07 Feb, 2015

2 commits


13 Nov, 2014

1 commit

  • This commit adds "select CPU_V7" for some new boards that were not
    covered by commit 2e07c249a67e
    (kconfig: arm: introduce symbol for ARM CPUs).

    Redundant "SYS_CPU" defines and "string" directives should be removed.

    Signed-off-by: Masahiro Yamada
    Acked-by: Stefan Roese
    Acked-by: Georges Savoundararadj

    Masahiro Yamada
     

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
     

28 Oct, 2014

1 commit

  • This file should contain the bin_hdr generated by the original Marvell
    U-Boot implementation. As this is currently not included in this
    U-Boot version, we have added this placeholder, so that the U-Boot
    image can be generated without errors.

    If you have a known to be working bin_hdr for your board, then you
    just need to replace this text file here with the binary header
    and recompile U-Boot.

    In a few weeks, mainline U-Boot will get support to generate the
    bin_hdr with the DDR training code itself. By implementing this code
    as SPL U-Boot. Then this file will not be needed any more and will
    get removed.

    Signed-off-by: Stefan Roese

    Stefan Roese
     

27 Oct, 2014

1 commit

  • The file board/Marvell/include/mv_gen_reg.h is incompatible with
    the GPL (see for example the "MARVELL RESERVES THE RIGHT AT ITS SOLE
    DISCRETION TO REQUEST THAT THIS CODE BE IMMEDIATELY RETURNED TO
    MARVELL" clause). As this cannot be fixed, we remove the file and all
    code that depends on it. Fortunately this only affects some very old
    boards that have long reached EOL:
    CPCI750
    DB64360
    DB64460
    p3m750
    p3m7448

    Signed-off-by: Wolfgang Denk
    Cc: Reinhard Arlt
    Cc: Stefan Roese
    Cc: Roger Meier

    Wolfgang Denk
     

23 Oct, 2014

4 commits


25 Sep, 2014

1 commit

  • Since commit ddaf5c8f3030050fcd356a1e49e3ee8f8f52c6d4
    (patman: RunPipe() should not pipe stdout/stderr unless asked),
    Patman spits lots of "Invalid MAINTAINERS address: '-'"
    error messages for patches with global changes.
    It takes too long for Patman to process them.

    Anyway, "M: -" does not carry any important information.
    Rather, it is just like a place holder in case of assigning
    a new board maintainer. Let's comment out.

    This commit can be reproduced by the following command:

    find . -name MAINTAINERS | xargs sed -i -e '/^M:[[:blank:]]*-$/s/^/#/'

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

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
     

12 Jun, 2014

1 commit


18 Apr, 2014

1 commit


25 Jan, 2014

1 commit


18 Nov, 2013

1 commit


01 Nov, 2013

2 commits