08 Feb, 2019

1 commit


19 Jan, 2019

1 commit

  • Onc of key blocker for using USB Generic host controller
    drivers in Allwinner are CLK and RESET drivers, now these
    available for USB usage.

    So switch sunxi USB use EHCI and OHCI Generic controllers.

    Enabling USB is wisely a board choise, So Enable USB_OHCI_HCD
    where it already have USB_EHCI_HCD

    Signed-off-by: Jagan Teki
    Acked-by: Maxime Ripard

    Jagan Teki
     

04 Sep, 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
     

17 Apr, 2018

1 commit

  • We enabled CONFIG_ISO_PARTITION by default for distro boot, so that U-Boot
    could load distro images that usually get shipped as iso images. These images
    usually come with a board agnostic boot environment.

    However, there is very little point in having ISO support enabled (for anyone
    really) in SPL, as the whole idea of SPL is to load U-Boot proper which again
    is board specific. So the fact that we enable ISO support in U-Boot proper does
    not mean at all that we want ISO support in U-Boot SPL.

    Hence, let's remove the Kconfig dependency. Along the way, let's also clean up
    all those default configs that disabled SPL ISO support.

    Signed-off-by: Alexander Graf

    Alexander Graf
     

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
     

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
     

19 Jun, 2017

1 commit


20 Apr, 2017

2 commits


14 Mar, 2017

1 commit


28 Jan, 2017

3 commits


24 Oct, 2016

1 commit


17 Sep, 2016

2 commits


09 Sep, 2016

1 commit


03 Sep, 2016

1 commit


17 Jun, 2016

1 commit


10 Jun, 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

3 commits


24 Feb, 2016

2 commits

  • Add support for phy 1-3.

    Signed-off-by: Jelle van der Waa
    [hdegoede@redhat.com: use setclrbits_le32 instead of read-modify-write]
    Signed-off-by: Hans de Goede

    Jelle van der Waa
     
  • SY8106A is a PMIC which is used on the Allwinner
    H3 Orange Pi Pc and Plus board. The VOUT1_SEL register is
    implemented to set the default V-CPU voltage to 1200 mV.

    This driver is required to ensure the SY8106A V-CPU
    voltage is set to 1200 mV after a software reset. On cold
    boot the default SY8106A output voltage is selected to be
    1200 mV by a pair of resistors on the Orange Pi PC and Plus.

    Signed-off-by: Jelle van der Waa
    Tested-by: Siarhei Siamashka
    Acked-by: Siarhei Siamashka
    Signed-off-by: Hans de Goede

    Jelle van der Waa
     

10 Dec, 2015

1 commit


25 Nov, 2015

1 commit


22 Nov, 2015

2 commits