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


10 Apr, 2019

2 commits


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 Jul, 2018

1 commit

  • The Libretech ALL-H3-CC has a high density connector for attaching
    an eMMC module. The module form factor and connection is specific
    to Libretech, and has provisions for split vmmc/vqmmc (core and I/O)
    voltage supplies, but this board does not wire the vqmmc side. The
    H2+/H3/H5 SoCs do not support alternate I/O voltages for eMMC either.
    Only 3.3V is supported. A specific module that ties vqmmc to vmmc,
    with both at 3.3V, must be used.

    Given that a) eMMC is not designed to be hotplugged, b) power is
    always provided on the pins, and c) MMC controllers can deal with
    missing cards, we can enable this by default. If a module is attached
    it will be picked up by the system.

    The device tree change was also submitted to the Linux Kernel and
    has already been queued up for 4.19.

    Signed-off-by: Chen-Yu Tsai
    Acked-by: Maxime Ripard
    Reviewed-by: Jagan Teki

    Chen-Yu Tsai
     

01 May, 2018

1 commit


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
     

10 Jan, 2018

1 commit

  • The Libre Computer Board ALL-H3-CC from Libre Technology is a Raspberry
    Pi B+ form factor single board computer based on the Allwinner H3 SoC.
    The board has 1GB DDR3 SDRAM, provided by 4 2Gb chips. The mounting holes
    and connectors are in the exact same position as on the Raspberry Pi B+.

    Raspberry Pi B+ like peripherals supported on this board include:

    - Power input through micro-USB connector (without USB OTG)
    - Native 100 Mbps ethernet using the internal PHY, as opposed to
    USB-based on the RPi
    - 4x USB 2.0 host ports, directly connected to the SoC, as opposed to
    being connected through a USB 2.0 hub on the RPi
    - TV and audio output on a 3.5mm TRRS jack
    - HDMI output
    - Micro-SD card slot
    - Standard RPi B+ GPIO header, with the standard peripherals routed to
    the same pins.

    * 5V, 3.3V power, and ground
    * I2C0 on the H3 is routed to I2C1 pins on the RPi header
    * I2C1 on the H3 is routed to I2C0 pins on the RPi header
    * UART1 on the H3 is routed to UART0 pins on the RPi header
    * SPI0 on the H3 is routed to SPI0 pins on the RPi header,
    with GPIO pin PA17 replacing the missing Chip Select 1
    * I2S1 on the H3 is routed to PCM pins on the RPi header

    - Additional peripherals from the H3 are available on different pins.
    These include I2S0, JTAG, PWM1, SPDIF, SPI1, and UART3

    In addition, there are a number of new features:

    - Console UART header
    - Consumer IR receiver
    - Camera interface (not compatible with RPi)
    - Onboard microphone
    - eMMC expansion module port
    - Heatsink mounting holes

    This patch adds defconfig and dts files for this board. The dts file is
    the same as the one submitted for inclusion in Linux, with some minor
    revisions to match the dtsi file and old EMAC bindings in U-boot.

    Since the OTG controller is wired to a USB host port, and the H3 has
    proper USB hosts to handle host mode, the MUSB driver is not enabled.

    Signed-off-by: Chen-Yu Tsai
    Acked-by: Maxime Ripard
    Reviewed-by: Jagan Teki

    Chen-Yu Tsai