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
     

23 Jan, 2018

1 commit


19 Dec, 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
     

04 Oct, 2017

1 commit


28 Aug, 2017

1 commit


15 Aug, 2017

1 commit


13 Aug, 2017

2 commits

  • With the changes to split SPL/TPL for the RK3368, I apparently missed
    some needed adjustments to the RK3188 Kconfig and rock_defconfig.

    This fixes build-issues for the rock board after applying the RK3368
    enablement (and SPL/TPL) set that resulted from TPL_SERIAL_SUPPORT,
    TPL_ROCKCHIP_BACK_TO_BROM and TPL_TINY_MEMSET being separate symbols
    now.

    Signed-off-by: Philipp Tomsich
    Reviewed-by: Simon Glass

    Philipp Tomsich
     
  • The back-to-bootrom option is rather unfortunately named
    CONFIG_ROCKCHIP_SPL_BACK_TO_BOOTROM
    instead of
    CONFIG_SPL_ROCKCHIP_BACK_TO_BOOTROM

    To make is selectable through CONFIG_IS_ENABLED(ROCKCHIP_BACK_TO_BOOTROM),
    we need to rename it. At the same time, we introduce a TPL_ variant of
    the option to give us finer-grained control over when it should be used.

    This change is motivated by our RK3368 boot process, which returns to
    the boot ROM only from the TPL stage, but not from the SPL stage.

    Signed-off-by: Philipp Tomsich
    [added fix-up for evb-rk3229_defconfig and phycore-rk3288_defconfig:]
    [fixed inverted CONFIG_IS_ENABLED test for rk3288:]
    Signed-off-by: Philipp Tomsich
    Reviewed-by: Simon Glass
    Reviewed-by: Tom Rini

    include/configs/rock.h: undef

    Philipp Tomsich
     

26 Jul, 2017

1 commit

  • 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
     

19 Jun, 2017

1 commit


28 Apr, 2017

1 commit

  • This originally started out as
    "pinctrl: Kconfig: reorder to keep Rockchip options together"
    and tried to keep the Rockchip-related config options together.

    However, we now rewrite all chip-specific driver selections to start
    with CONFIG_PINCTRL_ (with the inadvertent changes to related
    Makefiles) and sort those alphabetically. And as this already means
    touching most of the file, we also reformat the help text to not exceed
    80 characters (but make full use of those 80 characters).

    Signed-off-by: Philipp Tomsich
    Acked-by: Simon Glass

    Philipp Tomsich
     

14 Apr, 2017

1 commit

  • Do not condition the compilation of the U_BOOT_DRIVER by !OF_PLATDATA.
    This is inconsistent with the majority of other drivers. This also
    blocks OF_PLATDATA boards with an 16550-compatible serial from using
    serial in SPL.

    Signed-off-by: Alexandru Gagniuc
    Reviewed-by: Simon Glass
    Added tweak for rock to avoid a TPL build failure:
    Signed-off-by: Simon Glass

    Alexandru Gagniuc
     

05 Apr, 2017

1 commit

  • The Rock is a RK3188 based single board computer by Radxa.
    Currently it still relies on the proprietary DDR init and
    cannot use the generic SPL, but at least is able to boot
    a linux kernel and system up to a regular login prompt.

    Signed-off-by: Heiko Stuebner
    Reviewed-by: Simon Glass
    Tested-by: Kever Yang
    Acked-by: Simon Glass
    Fix sort order in defconfig, enable CONFIG_SPL_TINY_MEMSET:
    Signed-off-by: Simon Glass

    Heiko Stübner