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


17 Oct, 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

4 commits

  • Fastboot need a bunch of options to be operating properly, such as the
    g_dnl gadget, the fastboot command, and some options that make sense. Since
    fastboot is now part of Kconfig, make sure we have them right.

    That will also reduce the boilerplate in the defconfigs.

    Reviewed-by: Łukasz Majewski
    Reviewed-by: Simon Glass
    Signed-off-by: Maxime Ripard

    Maxime Ripard
     
  • A good number of our boards have USB_GADGET enabled. Imply it so that all
    the boards can benefit from it, and remove some boilerplate from our
    defconfigs.

    Reviewed-by: Łukasz Majewski
    Reviewed-by: Simon Glass
    Signed-off-by: Maxime Ripard

    Maxime Ripard
     
  • All the Allwinner boards use the same manufacturer, VID and PID for the
    gadgets. Make them the defaults to remove some boilerplate from our
    defconfigs.

    Reviewed-by: Łukasz Majewski
    Reviewed-by: Simon Glass
    Signed-off-by: Maxime Ripard

    Maxime Ripard
     
  • The g_dnl USB settings for the vendor ID, product ID and manufacturer are
    actually common settings that can and should be shared by all the gadgets.

    Make them common by renaming them, and convert all the users.

    Reviewed-by: Simon Glass
    Reviewed-by: Lukasz Majewski
    Signed-off-by: Maxime Ripard

    Maxime Ripard
     

02 Sep, 2017

2 commits

  • - Move ANDROID_IMAGE_SUPPORT to top level Kconfig under images as it's
    not strictly part of fastboot.
    - Add some defaults for the fastboot buffer location and size
    - Migrate all options listed in cmd/fastboot/Kconfig
    - Cleanup the README

    Signed-off-by: Tom Rini

    Tom Rini
     
  • 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
     

15 Aug, 2017

1 commit


20 Apr, 2017

1 commit

  • Convert the CONS_INDEX configuration to Kconfig.
    Update sunxi's defconfigs to remove SYS_EXTRA_OPTIONS variable not
    needed anymore.
    Default value is 1 except for sun5i (equals 2) and sun8i (equals 5).

    Signed-off-by: Mylène Josserand
    [Maxime: Added a depends on ARCH_SUNXI to avoid build breakages]
    Signed-off-by: Maxime Ripard

    Mylène Josserand
     

14 Mar, 2017

1 commit


28 Jan, 2017

3 commits


27 Sep, 2016

1 commit

  • Introduce a hidden USB_FUNCTION_DFU Kconfig option and select it for
    CMD_DFU (as we must have the DFU command enabled to do anything DFU).
    Make all of the entries in drivers/dfu/Kconfig depend on CMD_DFU and add
    options for all of the back end choices that DFU can make use of.

    Cc: Lukasz Majewski
    Signed-off-by: Tom Rini
    Acked-by: Lukasz Majewski

    Tom Rini
     

17 Sep, 2016

2 commits


25 May, 2016

1 commit

  • Recently a set of CONFIG_CMD_FOO defines was moved from being defined
    in config_distro_defaults to Kconfig, and added to all sunxi defconfigs
    to compensate.

    Instead of explictly selecting these in all sunxi defconfigs,
    simply always select these for sunxi boards. This makes the defconfigs
    simpler and ensures a consistent set of available commands across all
    sunxi boards.

    Signed-off-by: Hans de Goede

    Hans de Goede
     

28 Apr, 2016

1 commit


26 Apr, 2016

3 commits


20 Apr, 2016

2 commits


12 Apr, 2016

1 commit

  • We have CONFIG_CMD_GPIO=y in almost all sunxi boards, but after
    its Kconfig conversion it has ended up missing on some recently
    added boards.

    Simply select it for ARCH_SUNXI, so that we get it on all
    sunxi boards for both a consistent user experience and simpler
    defconfig files.

    Signed-off-by: Hans de Goede
    Acked-by: Ian Campbell

    Hans de Goede
     

26 Mar, 2016

1 commit

  • The description was borrowed from kernel. "tristate" type was changed
    to "bool" (I believe we don't support modules for u-boot yet, right?).
    CONFIG_USB_GADGET requires CONFIG_USB to be defined too, so add it along
    as well.

    Definitions were added to defconfig files in a way that
    "make savedefconfig" generates exactly the same file as used defconfig.

    Signed-off-by: Sam Protsenko
    [trini: Add zynq_zc702 conversion]
    Signed-off-by: Tom Rini

    Sam Protsenko
     

24 Mar, 2016

1 commit

  • Always select OF_BOARD_SETUP on sunxi, rather then having it in almost
    all our defconfigs. This also fixes it missing from some recently
    added defconfigs.

    This commit also modifies our ft_board_setup() to not cause warnings
    when CONFIG_VIDEO_DT_SIMPLEFB is not set, since we will now always
    build it.

    Signed-off-by: Hans de Goede
    Acked-by: Ian Campbell

    Hans de Goede
     

15 Mar, 2016

1 commit

  • There are already two FIT options in Kconfig but the CONFIG options are
    still in the header files. We need to do a proper move to fix this.

    Move these options to Kconfig and tidy up board configuration:

    CONFIG_FIT
    CONFIG_OF_BOARD_SETUP
    CONFIG_OF_SYSTEM_SETUP
    CONFIG_FIT_SIGNATURE
    CONFIG_FIT_BEST_MATCH
    CONFIG_FIT_VERBOSE
    CONFIG_OF_STDOUT_VIA_ALIAS
    CONFIG_RSA

    Unfortunately the first one is a little complicated. We need to make sure
    this option is not enabled in SPL by this change. Also this option is
    enabled automatically in the host builds by defining CONFIG_FIT in the
    image.h file. To solve this, add a new IMAGE_USE_FIT #define which can
    be used in files that are built on the host but must also build for U-Boot
    and SPL.

    Note: Masahiro's moveconfig.py script is amazing.

    Signed-off-by: Simon Glass
    [trini: Add microblaze change, various configs/ re-applies]
    Signed-off-by: Tom Rini

    Simon Glass
     

10 Dec, 2015

1 commit


22 Nov, 2015

1 commit


19 Nov, 2015

1 commit


13 Nov, 2015

1 commit


21 Oct, 2015

1 commit

  • Kconfig-ify CONFIG_AXP152_POWER and _AXP209_POWER settings, removing
    them from CONFIG_SYS_EXTRA_OPTIONS.

    Note that sun5i boards can have either an AXP209 or an AXP152 pmic, the
    Kconfig default is AXP209, boards with an AXP152 must explicitly select
    this. Likewise boards without a pmic must explicitly select SUNXI_NO_PMIC
    in their defconfig.

    Signed-off-by: Hans de Goede
    Acked-by: Ian Campbell

    Hans de Goede
     

31 Aug, 2015

2 commits

  • Add CONFIG_MMC0_CD_PIN to various boards, this stops the SPL from still
    trying to access the sdcard when there is none (e.g. when booting from
    nand).

    Signed-off-by: Hans de Goede
    Acked-by: Ian Campbell

    Hans de Goede
     
  • With the unified / cleaned up default display output selection changes,
    which were done as part of adding composite video out support, our
    example LCD_MODE line in the A13-OLinuxIno defconfigs causes the display
    code to setup a LCD console by default, rather then a VGA console.

    Given that the LCD console is only useful for people who have hooked up
    the exact lcd-panel from the config, while most people will not have any
    lcd panel connected to these boards, this is not a good default.

    Dropping the LCD_MODE line which was intended as an example fixes this,
    instead add a link to the LCD_MODE help text pointing to
    http://linux-sunxi.org/LCD which contains the removed and other example
    modes.

    Signed-off-by: Hans de Goede
    Acked-by: Ian Campbell

    Hans de Goede
     

25 Jul, 2015

1 commit

  • With certain features being convert to DM now we want sunxi to default
    to having DM enabled for ETH/SERIAL and USB in some cases.

    Cc: Hans de Goede
    Cc: Ian Campbell
    Signed-off-by: Tom Rini
    [hdegoede@redhat.com: Also select CONFIG_USB for all sunxi builds]
    Signed-off-by: Hans de Goede
    Acked-by: Ian Campbell
    Reviewed-by: Simon Glass

    Tom Rini
     

26 Jun, 2015

1 commit