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
     

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
     

20 Apr, 2017

1 commit


28 Jan, 2017

3 commits


17 Sep, 2016

1 commit


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
     

26 Apr, 2016

3 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
     

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


21 Oct, 2015

1 commit

  • On boards with axp221/223 pmic-s we already allow configuring most
    voltages. Make the Kconfig options for these also apply to boards with
    axp152 / axp209 pmic-s and extend them to configure all voltages.

    The Kconfig defaults are chosen so that this commit does not introduce any
    functional changes.

    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

2 commits

  • This sets the default commands Kconfig to match
    include/config_cmd_default.h commands in the common/Kconfig and removes
    them from include/configs.

    Signed-off-by: Joe Hershberger
    [trini: rastaban, am43xx_evm_usbhost_boot, am43xx_evm_ethboot updates]
    Signed-off-by: Tom Rini

    Joe Hershberger
     
  • Some archs/boards specify their own default by pre-defining the config
    which causes the Kconfig system to mix up the order of the configs in
    the defconfigs... This will cause merge pain if allowed to proliferate.

    Remove the configs that behave this way from the archs.

    A few configs still remain, but that is because they only exist as
    defaults and do not have a proper Kconfig entry. Those appear to be:

    SPIFLASH
    DISPLAY_BOARDINFO

    Signed-off-by: Joe Hershberger
    [trini: rastaban, am43xx_evm_usbhost_boot, am43xx_evm_ethboot updates,
    drop DM_USB from MSI_Primo81 as USB_MUSB_SUNXI isn't converted yet to DM]
    Signed-off-by: Tom Rini

    Joe Hershberger
     

06 Jun, 2015

1 commit


04 Jun, 2015

1 commit

  • The Mele A1000G-quad and the Mele M9 have the same PCB, sofar we've been
    using the same defconfig (and dts on the kernel side) for both models.
    Unfortunately this does not work for the otg controller, on the M9 this
    is routed to a micro-usb connector on the outside, while as on the
    A1000G-quad it is connected to an usb to sata bridge.

    This commit adds a new defconfig for the Mele-A1000G-quad to allow using
    different otg controller settings on the 2 boards.

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

    Hans de Goede
     

01 Jun, 2015

2 commits


13 May, 2015

1 commit

  • In order to reduce merge conflicts and to maintain the simplest possible
    defconfig files, we should be using the savedefconfig feature of Kconfig
    every time a new feature is added. This keeps the defconfig settings to
    a minimum (only those things not default) and keeps them in the same
    order as the Kconfig options.

    Signed-off-by: Joe Hershberger
    Cc: Masahiro Yamada
    Acked-by: Stephen Warren
    Cc: Tom Rini

    Joe Hershberger
     

04 May, 2015

2 commits

  • Now that we've everything prepared for it remove the DM settings from the
    defconfig(s) and simply always set them for sunxi.

    This makes all sunxi boards allways use the driver model for gpios and
    ethernet, and allows us to move over more bits to the driver-model without
    the need to introduce #ifdef-ery for boards which are not yet using DM.

    Signed-off-by: Hans de Goede
    Reviewed-by: Simon Glass
    Acked-by: Ian Campbell

    Hans de Goede
     
  • This is a preparation patch for switching all sunxi boards over to using
    the driver model.

    Note that rather then defining both CONFIG_DEFAULT_DEVICE_TREE (for u-boot)
    and CONFIG_FDTFILE (for the kernel), this commit simply replaces all
    CONFIG_FDTFILE defconfig settings with CONFIG_DEFAULT_DEVICE_TREE and
    uses CONFIG_DEFAULT_DEVICE_TREE for setting the default fdtfile env value
    in sunxi-common.h .

    Signed-off-by: Hans de Goede
    Reviewed-by: Simon Glass
    Acked-by: Ian Campbell

    Hans de Goede
     

19 Apr, 2015

1 commit


16 Mar, 2015

1 commit


22 Jan, 2015

1 commit


14 Jan, 2015

3 commits

  • The dcdc1 voltage is typically used as generic 3.3V IO voltage for things like
    GPIO-s, sdcard interfaces, etc. On most boards this is undervolted to 3.0V to
    safe battery, but not on all, make it configurable so that we can use the
    same settings as the original firmware on all boards.

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

    Hans de Goede
     
  • Some of the ldo-s of the axp221 are used in the same way on most boards, add
    comments to the Kconfig help text to reflect this, and give them defaults
    matching their typical usage.

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

    Hans de Goede
     
  • It turns out that there is a too large spread between boards to handle this
    with a default value, turn this into Kconfig options, and set the values
    the factory images are using for the Colombus and Mele_M9 boards.

    Note this changes the ZQ default when not overriden through defconfig from
    120 to 123, as that is what most boards seem to actually use.

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

    Hans de Goede
     

25 Nov, 2014

2 commits


13 Nov, 2014

2 commits