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
     

20 Oct, 2015

1 commit


23 Jul, 2015

1 commit


05 May, 2015

2 commits

  • Now that the mach-mvebu directory exists and is used by Armada XP we can
    move the mvebu-common files into this directory as well.

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

    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
     

07 Feb, 2015

3 commits

  • This patch fixes the following compilation warning for maxbcm:

    Building maxbcm board...
    text data bss dec hex filename
    160075 6596 38240 204911 3206f ./u-boot
    board/maxbcm/maxbcm.c: In function 'reset_phy':
    board/maxbcm/maxbcm.c:68:6: warning: unused variable 'reg' [-Wunused-variable]
    u16 reg;
    ^
    board/maxbcm/maxbcm.c:66:6: warning: unused variable 'devadr' [-Wunused-variable]
    u16 devadr = CONFIG_PHY_BASE_ADDR;
    ^

    Additionally support Spansion SPI NOR flash is added. With larger SPI device
    support via the CONFIG_SPI_FLASH_BAR define.

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

    Stefan Roese
     
  • This patch adds SPL support to the maxbcm MV78460 based board. Including
    the fixed DDR configuratrion needed for the DDR training code. And the
    the serdes PHY init code.

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

    Stefan Roese
     
  • With this patchset the Marvell bin_hdr (DDR training) code is intergrated
    into mainline U-Boot. We can remove the placeholder file again, which was
    only introduced to make U-Boot compile and link again.

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

    Stefan Roese
     

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
     

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
     

23 Oct, 2014

1 commit