15 Feb, 2018

1 commit

  • Migrate the option CONFIG_SPL_FRAMEWORK and make this gate most of the
    current set of options we have in Kconfig. We will need to have some
    options available for SPL and !SPL_FRAMEWORK so this is important. In a
    few cases we re-order existing options so that we have less escapes from
    the SPL_FRAMEWORK guard.

    Signed-off-by: Tom Rini

    Tom Rini
     

11 Feb, 2018

1 commit

  • On the NIOS2 and Xtensa architectures, we do not have
    CONFIG_SYS_TEXT_BASE set. This is a strict migration of the current
    values into the defconfig and removing them from the headers.

    I did not attempt to add more default values in and for now will leave
    that to maintainers.

    Signed-off-by: Tom Rini

    Tom Rini
     

26 Jul, 2017

1 commit


22 May, 2017

1 commit


13 Feb, 2017

1 commit

  • We repeated partial moves for CONFIG_SYS_NO_FLASH, but this is
    not completed. Finish this work by the tool.

    During this move, let's rename it to CONFIG_MTD_NOR_FLASH.
    Actually, we have more instances of "#ifndef CONFIG_SYS_NO_FLASH"
    than those of "#ifdef CONFIG_SYS_NO_FLASH". Flipping the logic will
    make the code more readable. Besides, negative meaning symbols do
    not fit in obj-$(CONFIG_...) style Makefiles.

    This commit was created as follows:

    [1] Edit "default n" to "default y" in the config entry in
    common/Kconfig.

    [2] Run "tools/moveconfig.py -y -r HEAD SYS_NO_FLASH"

    [3] Rename the instances in defconfigs by the following:
    find . -path './configs/*_defconfig' | xargs sed -i \
    -e '/CONFIG_SYS_NO_FLASH=y/d' \
    -e 's/# CONFIG_SYS_NO_FLASH is not set/CONFIG_MTD_NOR_FLASH=y/'

    [4] Change the conditionals by the following:
    find . -name '*.[ch]' | xargs sed -i \
    -e 's/ifndef CONFIG_SYS_NO_FLASH/ifdef CONFIG_MTD_NOR_FLASH/' \
    -e 's/ifdef CONFIG_SYS_NO_FLASH/ifndef CONFIG_MTD_NOR_FLASH/' \
    -e 's/!defined(CONFIG_SYS_NO_FLASH)/defined(CONFIG_MTD_NOR_FLASH)/' \
    -e 's/defined(CONFIG_SYS_NO_FLASH)/!defined(CONFIG_MTD_NOR_FLASH)/'

    [5] Modify the following manually
    - Rename the rest of instances
    - Remove the description from README
    - Create the new Kconfig entry in drivers/mtd/Kconfig
    - Remove the old Kconfig entry from common/Kconfig
    - Remove the garbage comments from include/configs/*.h

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

24 Oct, 2016

1 commit


17 Sep, 2016

6 commits


26 Aug, 2016

1 commit


26 Apr, 2016

1 commit


14 Jan, 2016

5 commits

  • Until now, the SoC selection for the ARCH_MVEBU platforms has been done
    in the config header. Using CONFIG_ARMADA_XP in a non-clear way. As
    it needed to get selected for AXP and A38x based boards. This patch
    now changes this to move the SoC selection to Kconfig. And also
    uses CONFIG_ARCH_MVEBU as a common define for both AXP and A38x.
    This makes things a bit clearer - especially for new board additions.

    Additionally the defines CONFIG_SYS_MVEBU_DDR_AXP and
    CONFIG_SYS_MVEBU_DDR_A38X are replaced with the already available
    CONFIG_ARMADA_38X and CONFIG_ARMADA_XP.

    And CONFIG_DDR3 is removed, as its not referenced anywhere.

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

    Stefan Roese
     
  • Currently, ECC support is enabled for all Armada XP boards. So the
    DDR3 driver tries to configure the controller with ECC support, even
    on boards without ECC. This patch makes this ECC optional which now
    can be configured on a board-per-board basis.

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

    Stefan Roese
     
  • This patch moves some config options to the mvebu common include file.
    Making it easier to not forget these defines for new boards.

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

    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
     

25 Nov, 2015

1 commit


25 Oct, 2015

1 commit

  • We have finished Generic Board conversion for ARM and PowerPC, i.e.
    all the boards have been converted except OpenRISC, SuperH, SPARC,
    which have not supported Generic Board framework yet.

    Select SYS_GENERIC_BOARD in arch/Kconfig and delete all the macro
    defines in include/configs/*.h.

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

21 Oct, 2015

1 commit


18 Aug, 2015

1 commit

  • This patch moves CONFIG_SYS_TEXT_BASE to 0x00800000 for all Armada
    XP / 38x boards in mainline U-Boot. This is done in preparation for
    the ECC SDRAM scrubbing that needs to be done in the main U-Boot.
    The SPL (previously bin_hdr) has already scrubbed the area:
    0x0000.0000 - 0x0100.0000

    In this area this main U-Boot needs to get loaded. The main U-Boot
    then can scrub the remaining SDRAM area while running from this
    location.

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

    Stefan Roese
     

23 Jul, 2015

1 commit

  • With the upcoming addition of the Armada 38x DDR support, which is not
    compatible to the Armada XP DDR init code, we need to introduce a new
    directory infrastructure. To support multiple Marvell DDR controller.

    This will be the new structure:

    drivers/ddr/marvell/axp
    Supporting Armada XP (AXP) devices (and perhaps Armada 370)

    drivers/ddr/marvell/a38x
    Supporting Armada 38x devices (and perhaps Armada 39x)

    Signed-off-by: Stefan Roese

    Stefan Roese
     

02 Jul, 2015

1 commit


26 Jun, 2015

1 commit


05 May, 2015

3 commits


15 Apr, 2015

1 commit

  • Orion5x, Kirkwood and Armada XP platforms come with a single TWSI (I2C) MVTWSI
    controller. However, other platforms using MVTWSI may come with more: this is
    the case on Allwinner (sunxi) platforms, where up to 4 controllers can be found
    on the same chip.

    Signed-off-by: Paul Kocialkowski
    Acked-by: Heiko Schocher
    Acked-by: Hans de Goede
    Signed-off-by: Hans de Goede

    Paul Kocialkowski
     

07 Feb, 2015

2 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
     

23 Oct, 2014

1 commit