04 Sep, 2018

1 commit


21 Aug, 2018

1 commit


17 Aug, 2018

1 commit

  • We have the following cases:
    - CONFIG_NR_DRAM_BANKS was defined, migrate normally
    - CONFIG_NR_DRAM_BANKS_MAX was defined and then used for
    CONFIG_NR_DRAM_BANKS after a check, just migrate it over now.
    - CONFIG_NR_DRAM_BANKS was very oddly defined on p2771-0000-* (to 1024 +
    2), set this to 8.

    Signed-off-by: Tom Rini

    Tom Rini
     

13 Aug, 2018

1 commit

  • "default" lines in Kconfig are processed in order, the first hit will
    stop considering subsequent lines. In the case of the DRAM_ODT_EN symbol
    that means that everything following the first two lines will never be
    checked:
    ------------
    config DRAM_ODT_EN
    bool "sunxi dram odt enable"
    default n if !MACH_SUN8I_A23
    default y if MACH_SUN8I_A23
    default y if MACH_SUN8I_R40
    default y if MACH_SUN50I
    ------------

    Assuming that the "default y" for the A64 and the R40 were a deliberate
    choice, fix the Kconfig stanza to take this into account.
    Also remove the now redundant lines from the respective defconfigs.

    Signed-off-by: Andre Przywara
    [jagan: droped 'default n' on original change]
    Signed-off-by: Jagan Teki
    Acked-by: Maxime Ripard
    Tested-by: Jagan Teki # A64, R40
    Tested-by: Chen-Yu Tsai # A23

    Andre Przywara
     

08 Aug, 2018

1 commit


16 Jul, 2018

1 commit


08 Apr, 2018

1 commit


14 Mar, 2018

1 commit

  • Commit 278b90ce786f ("configs: Migrate CONFIG_SYS_TEXT_BASE") made
    CONFIG_SYS_TEXT_BASE a proper Kconfig variable, with the consequence
    of moving the common definition shared by almost every sunxi board
    into 123 individual defconfig files. But the U-Boot start address
    for Allwinner boards is a platform decision which has been around for
    ages, so defining it in each *board* config file seems a bit over the
    top.
    Define the standard values (160MB into DRAM for most SoCs, with two
    SoC exceptions) if ARCH_SUNXI is selected, and delete the lines from
    the individual defconfigs.

    Signed-off-by: Andre Przywara
    Acked-by: Maxime Ripard
    Reviewed-by: Jagan Teki

    Andre Przywara
     

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
     

13 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
     

02 Sep, 2017

1 commit

  • This syncs all of the currently Kconfig'd symbols out of the headers and
    into the defconfig files. This has two exceptions, first am335x_evm
    needs to be converted to DM in SPL and then it can stop undef'ing
    CONFIG_DM_USB. Leaving this as-is results in a build failure, and
    without work, run time failure. The other case is am43xx_evm.h and in
    turn am43xx_evm_usbhost_boot. The problem here is that we need DWC3 USB
    host mode in SPL, but still desire to have gadget mode in U-Boot proper.

    Signed-off-by: Tom Rini

    Tom Rini
     

11 Aug, 2017

1 commit


12 Jul, 2017

1 commit


02 May, 2017

1 commit

  • Banana Pi M2 Ultra has a SATA port connected to the internal SATA
    controller of R40 SoC. The controller's 1.2v VDD is connected to ELDO3
    and the 2.5v VDD is connected to DLDO4.

    Enable these regulators as well as the SATA support of Banana Pi M2
    Ultra, by adding needed config lines into its defconfig.

    Signed-off-by: Icenowy Zheng
    Signed-off-by: Maxime Ripard

    Icenowy Zheng
     

20 Apr, 2017

1 commit

  • The Bananapi M2 Ultra is the first publicly available development board
    featuring the R40 SoC.

    This patch add barebone dtsi/dts files for the R40 and Bananapi M2 Ultra,
    as well as a defconfig for it.

    Signed-off-by: Chen-Yu Tsai
    Acked-by: Maxime Ripard

    Chen-Yu Tsai