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
     

06 Feb, 2018

1 commit

  • cmd/Makefile has:

    ifdef CONFIG_FPGA
    obj-$(CONFIG_CMD_FPGA) += fpga.o
    endif

    which means that if CONFIG_FPGA is not set, CONFIG_CMD_FPGA silently
    does nothing. Let's remove that Makefile conditional and instead express
    this equivalent dependency in Kconfig, so a lot of redundant

    # CONFIG_CMD_FPGA is not set

    can be removed from board defconfigs that don't actually have an FPGA.

    Signed-off-by: Tuomas Tynkkynen

    Tuomas Tynkkynen
     

19 Dec, 2017

1 commit


04 Dec, 2017

1 commit

  • As discussed at [1], the Amlogic Meson GX SoCs can embed a BL31 firmware
    and a secondary BL32 firmware.
    Since mid-2017, the reserved memory address of the BL31 firmware was moved
    and grown for security reasons.

    But mainline U-Boot and Linux has the old address and size fixed.

    These SoCs have a register interface to get the two firmware reserved
    memory start and sizes.

    This patch adds a dynamic reservation of the memory zones in the device tree bootmem
    reserved memory zone used by the kernel in early boot.
    To be complete, the memory zones are also added to the EFI reserved zones.

    Depends on patchset "Add support for Amlogic GXL Based SBCs" at [2].

    [1] http://lists.infradead.org/pipermail/linux-amlogic/2017-October/004860.html
    [2] http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005410.html

    Changes since v1:
    - switched the #if to if(IS_ENABLED()) to compile all code paths
    - renamed function to meson_board_add_reserved_memory()
    - added a mem.h header with comment
    - updated all boards ft_board_setup()

    Changes since RFC v2:
    - reduced preprocessor load
    - kept Odroid-C2 static memory mapping as exception

    Changes since RFC v1:
    - switch to fdt rsv mem table and efi reserve memory
    - replaced in_le32 by readl()

    Reviewed-by: Simon Glass
    Signed-off-by: Neil Armstrong
    [trini: Fix warning on khadas-vim over missing
    Signed-off-by: Tom Rini

    Neil Armstrong
     

20 Nov, 2017

1 commit


11 Oct, 2017

1 commit

  • Having this as a 'default y' is rather annoying because it doesn't
    actually compile unless other options are defined in the board header:

    ../cmd/bootm.c: In function 'do_imls_nor':
    ../cmd/bootm.c:330:7: error: 'CONFIG_SYS_MAX_FLASH_BANKS' undeclared (first use in this function); did you mean 'CONFIG_SYS_MAX_FLASH_SECT'?
    i < CONFIG_SYS_MAX_FLASH_BANKS; ++i, ++info) {

    Make it 'default n' so people who develop new boards that start from a
    blank defconfig have one less compilation failure to debug.

    Signed-off-by: Tuomas Tynkkynen

    Tuomas Tynkkynen
     

28 Aug, 2017

1 commit


15 Aug, 2017

1 commit


26 Jul, 2017

2 commits

  • GPIOs are now supported on Meson GXBB, enable driver and command in
    the config.

    Signed-off-by: Beniamino Galvani
    Reviewed-by: Simon Glass

    Beniamino Galvani
     
  • This converts the following to Kconfig:
    CONFIG_ENV_IS_IN_MMC
    CONFIG_ENV_IS_IN_NAND
    CONFIG_ENV_IS_IN_UBI
    CONFIG_ENV_IS_NOWHERE

    In fact this already exists for sunxi as a 'choice' config. However not
    all the choices are available in Kconfig yet so we cannot use that. It
    would lead to more than one option being set.

    In addition, one purpose of this series is to allow the environment to be
    stored in more than one place. So the existing choice is converted to a
    normal config allowing each option to be set independently.

    There are not many opportunities for Kconfig updates to reduce the size of
    this patch. This was tested with

    ./tools/moveconfig.py -i CONFIG_ENV_IS_IN_MMC

    And then manual updates. This is because for CHAIN_OF_TRUST boards they
    can only have ENV_IS_NOWHERE set, so we enforce that via Kconfig logic
    now.

    Signed-off-by: Simon Glass
    Signed-off-by: Tom Rini

    Simon Glass
     

07 Jul, 2017

1 commit


19 Jun, 2017

1 commit


01 May, 2017

1 commit


14 Apr, 2017

1 commit


14 Mar, 2017

1 commit


28 Jan, 2017

4 commits


21 Jan, 2017

1 commit

  • Use the generic "distro" boot framework to enable automatic DHCP boot.
    MMC and USB are not yet implemented, so this is the only boot option.

    The fdt and kernel addresses are adopted from downstream; ramdisk and
    scriptaddr addresses were chosen arbitrarily.

    Signed-off-by: Andreas Färber
    Reviewed-by: Alexander Graf

    Andreas Färber
     

30 Dec, 2016

1 commit

  • Commit 7a777f6d6f35 ("mmc: Add generic Kconfig option") created
    a Kconfig entry for this option without any actual moves, then
    commit 44c798799f66 ("sunxi: Use Kconfig CONFIG_MMC") moved
    instances only for SUNXI.

    We generally do not like such partial moves. This kind of work
    is automated by tools/moveconfig.py, so it is pretty easy to
    complete this move.

    I am adding "default ARM || PPC || SANDBOX" (suggested by Tom).
    This shortens the configs and will ease new board porting.

    This commit was created as follows:

    [1] Edit Kconfig (remove the "depends on", add the "default",
    copy the prompt and help message from Linux)

    [2] Run 'tools/moveconfig.py -y -s -r HEAD MMC'

    Signed-off-by: Masahiro Yamada
    Reviewed-by: Jaehoon Chung

    Masahiro Yamada
     

12 Oct, 2016

2 commits


20 Sep, 2016

1 commit


07 Sep, 2016

1 commit


25 Jun, 2016

1 commit


28 May, 2016

2 commits

  • For odroid-c2 (arch-meson) for now disable designware eth as meson
    now needs to do some harder GPIO work.

    Signed-off-by: Tom Rini

    Conflicts:
    lib/efi_loader/efi_disk.c

    Modified:
    configs/odroid-c2_defconfig

    Tom Rini
     
  • This adds platform code for the Amlogic Meson GXBaby (S905) SoC and a
    board definition for ODROID-C2. This initial submission only supports
    UART and Ethernet (through the existing Designware driver). DTS files
    are the ones submitted to Linux arm-soc for 4.7 [1].

    [1] https://patchwork.ozlabs.org/patch/603583/

    Signed-off-by: Beniamino Galvani
    Reviewed-by: Simon Glass

    Beniamino Galvani