18 Mar, 2020

1 commit

  • Now that those common Allwinner config symbols are defined automatically
    for all boards in their Kconfig files, we can remove the now redundant
    definitions from the boards' _defconfig files.

    Some boards had a differing definiton for some of those symbols, it
    looks like mostly to "merge races" when the symbol was introduced (new
    board *_defconfig file missed the "add symbol to all files" patch).

    Signed-off-by: Andre Przywara
    Acked-by: Maxime Ripard
    Tested-by: Jagan Teki # Amarula A64-Relic
    Reviewed-by: Jagan Teki

    Andre Przywara
     

05 Dec, 2019

1 commit


21 Nov, 2019

1 commit

  • Today in initr_reloc_global_data() we use some non-obvious tests to
    determine if we need to relocate the env_addr within gd or not. In
    order to facilitate migration of other symbols to Kconfig we need to
    introduce a new symbol for this particular use case.

    Cc: Wolfgang Denk
    Cc: Joe Hershberger
    Signed-off-by: Tom Rini

    Tom Rini
     

02 Aug, 2019

1 commit

  • This converts the following to Kconfig:
    CONFIG_USE_PREBOOT
    CONFIG_PREBOOT

    Both are together in one commit, since otherwise the former causes kconfig
    to define the latter, which gives duplicate symbol errors.

    Includes a manual fixup for CONFIG_PREBOOT in ids8313_defconfig since the
    backslash lands in the wrong place. Similarly with socfpga_vining_fpga.

    Signed-off-by: Simon Glass

    Simon Glass
     

15 Jul, 2019

1 commit

  • The choice of the SPL_TEXT_BASE is not really a decision that should be
    specified by each board's defconfig, as this setting is actually
    dictated by the SoC's memory map and the BootROM behaviour.

    To make this obvious and reduce the clutter in the defconfig files,
    let's specify the SoC constraints in the Kconfig stanza.
    This allows us to remove these lines from the defconfig files again.

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

    Andre Przywara
     

30 Apr, 2019

2 commits


08 Feb, 2019

1 commit


30 Jan, 2019

1 commit


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
     

04 Jun, 2018

2 commits