19 Mar, 2019

1 commit


16 Mar, 2019

1 commit

  • To boot from fpga on socfpga gen5, we need to set CONFIG_SPL_TEXT_BASE to
    0xC0000000 (hps2fpgaslaves base address).

    Since converting CONFIG_SPL_TEXT_BASE to Kconfig hasn't been successful so
    far, let's make this value overridable in socfpga_common.h, so that we can
    have different board configs override this in socfpga_common.h.

    Signed-off-by: Simon Goldschmidt

    Simon Goldschmidt
     

15 Mar, 2019

3 commits


14 Mar, 2019

1 commit


13 Mar, 2019

4 commits


11 Mar, 2019

6 commits

  • Signed-off-by: Minkyu Kang

    Minkyu Kang
     
  • Various places in the code set "boardname" env property. It was used
    for booting from ITB images and choosing proper DTB file name. Instead
    of duplicating it, use existing U-Boot wide - "board_name".

    Signed-off-by: Krzysztof Kozlowski
    Reviewed-by: Lukasz Majewski
    Signed-off-by: Minkyu Kang

    Krzysztof Kozlowski
     
  • File mixed space and tab indentation. Unify it.

    Signed-off-by: Krzysztof Kozlowski
    Reviewed-by: Lukasz Majewski
    Signed-off-by: Minkyu Kang

    Krzysztof Kozlowski
     
  • When including other header from configs, use consistent <> syntax.

    Signed-off-by: Krzysztof Kozlowski
    Reviewed-by: Lukasz Majewski
    Signed-off-by: Minkyu Kang

    Krzysztof Kozlowski
     
  • Changing voltage and enabling regulator might require delays so the
    regulator stabilizes at expected level.

    Add support for "regulator-ramp-delay" binding which can introduce
    required time to both enabling the regulator and to changing the
    voltage.

    Signed-off-by: Krzysztof Kozlowski
    Tested-by: Anand Moon
    Signed-off-by: Minkyu Kang

    Krzysztof Kozlowski
     
  • Detection of board revision is done early - before power setup. In case of
    Odroid XU3/XU4/HC1 family, the detection is done using ADC which
    is supplied by LDO4/VDD_ADC regulator. This regulator could be turned
    off (e.g. by kernel before reboot). If ADC is used early, the
    regulators are not yet available and the detection won't work.

    Split the revision detection out of set_board_type() into separate
    function called later - either when displaying board info (in late mode)
    or during misc_init_r. The idea is that set_board_type() will be called
    early so its method of detection are limited to flattened device tree
    (exynos5-dt-types.c for Exynos5) or GPIO (odroid.c for Exynos4412). The
    newly added set_board_revision() can be called only later, when
    resources like regulator are available.

    This is necessary to fix the detection of Odroid HC1 after reboot, if
    kernel turned off the LDO4 regulator.

    Signed-off-by: Krzysztof Kozlowski
    Reviewed-by: Lukasz Majewski
    Tested-by: Anand Moon
    Signed-off-by: Minkyu Kang

    Krzysztof Kozlowski
     

10 Mar, 2019

6 commits


09 Mar, 2019

1 commit


04 Mar, 2019

2 commits


03 Mar, 2019

9 commits


27 Feb, 2019

2 commits

  • This patch adds SiFive FU540 board support. For now, only
    SiFive serial, SiFive PRCI, and Cadance MACB drivers are
    only enabled. The SiFive FU540 defconfig by default builds
    U-Boot for S-Mode because U-Boot on SiFive FU540 will run
    in S-Mode as payload of BBL or OpenSBI.

    Signed-off-by: Atish Patra
    Signed-off-by: Anup Patel
    Reviewed-by: Alexander Graf
    Reviewed-by: Lukas Auer
    Reviewed-by: Bin Meng

    Anup Patel
     
  • Add driver code for the SiFive FU540 PRCI IP block. This IP block
    handles reset and clock control for the SiFive FU540 device and
    implements SoC-level clock tree controls and dividers.

    Based on code written by Wesley Terpstra
    found in commit 999529edf517ed75b56659d456d221b2ee56bb60 of:
    https://github.com/riscv/riscv-linux

    Boot and PLL rate change were tested on a SiFive HiFive Unleashed
    board.

    Signed-off-by: Paul Walmsley
    Signed-off-by: Atish Patra
    Signed-off-by: Anup Patel
    Reviewed-by: Alexander Graf

    Anup Patel
     

25 Feb, 2019

2 commits


23 Feb, 2019

1 commit


21 Feb, 2019

1 commit